<<< Date Index >>>     <<< Thread Index >>>

Re: sscanf (x, "%u", &(uint64_t))



* TAKAHASHI Tamotsu <ttakah@xxxxxxxxxxxxxxxxx> [Mar 19. 2005 08:22]:
> Hi,
> 
> Is it Okay to sscanf (x, "%u", &(uint64_t)) ?
> I got a warning:
>       imap.c:638: warning: unsigned int format,
>       different type arg (arg 3)

How about sscanf (x, "%lu", &(uint64_t)); ?

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.