Fredrik Jagenheim wrote:

> Have I misunderstood something, or stumbled over a bug?
>
>    StrPrintF(charP, "%u %u", 4, -4);
> gives:
>        charP = 0x1a614 "4 65532"

You are putting a signed int into an unsigned field.  To do what you want, I suggest...

StrPrintF(charP, "%i %i", 4, -4);

Steve



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to