|
Description
|
ucblib's sparc/sys/signal.c has two casts between pointers and integers
of different sizes. The standards do not specify whether this causes a
sign-extension; gcc sign-extends and warns while Studio does neither. To
be portable, we should cast to uintptr_t first to indicate zero extension,
or intptr_t if we want sign extension. See suggested fix.
[oss-bite-size]
|