[Tinyos-help] help needed on uint64_t type
BAI LI
libai0915 at gmail.com
Wed Feb 4 18:27:23 PST 2009
Hi All,
I have defined a uint64_t type variable as follows:
uint64_t a;
a=0x0000FFFFFFFFFFFF;
printf("a= %lld /n",a);
printf("a= %llx /n",a);
the result displayed as follows:
a= -1
a= ffffffff
The compilation didn't show any error. What is the problem? Does printf
support to display the uint64_t type? Any help would be appreciated!
Regards,
Bai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090205/5a4daeeb/attachment.htm
More information about the Tinyos-help
mailing list