[PATCH] print negative numbers correctly via vsprintf in arch/ppc64/boot/prom.c

Olaf Hering olh at suse.de
Tue May 10 05:56:42 EST 2005


 On Mon, May 09, Andreas Schwab wrote:

> The cast is still not needed.  In 2's complement representation the
> negation of a signed number and an unsigned number are the same operation.

Linus wanted it that way a few months/years ago, in lib/vsprintf.c



More information about the Linuxppc64-dev mailing list