View Single Post
Old 2010-08-31, 10:56   #10
ldesnogu
 
ldesnogu's Avatar
 
Jan 2008
France

24×3×11 Posts
Default

Quote:
Originally Posted by pacionet View Post
gcc -maix64 -lm -lpthread ${GCC_MARCH} -Wall

Still got this warnings

phrot.c:886: warning: format '%lli' expects type 'long long int', but argument 3 has type 'int64'
phrot.c:995: warning: format '%lli' expects type 'long long int', but argument 3 has type 'int64'
To fix this warning the best solution is to use PRId64 (from <inttypes.h>. The less portable one is to replace %lli with %li.

Last fiddled with by ldesnogu on 2010-08-31 at 10:56
ldesnogu is offline   Reply With Quote