[Bug libc/958] strtoll is broken (truncates to 32 bits)
jakub at redhat dot com
sourceware-bugzilla@sources.redhat.com
Thu May 19 14:56:00 GMT 2005
------- Additional Comments From jakub at redhat dot com 2005-05-19 14:55 -------
It is not broken, you should just learn how to use -Wall to find bugs in your
testcases. strtoll is prototyped in stdlib.h, see
http://www.opengroup.org/onlinepubs/009695399/functions/strtoll.html
and printf in stdio.h, see
http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
while you are including just unistd.h (which actually is not needed at all).
implicitly prototyped functions return int, see the C standard.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=958
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list