[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in strtoull

From: Manfred Weihs
Subject: bug in strtoull
Date: Mon, 29 Apr 2002 10:59:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417

I use glibc 2.2.4 (on a RedHat 7.2 system) and I have a problem using the strtoull function. It does not convert the string correctly. If I try to convert "0x1122334455", I will get 0x000022334455. If I try to convert "0xaabbccddee", I will get 0xFFFFFFFFBBCCDDEE. So it seems that only the lower 4 bytes are correctly converted, wheras the higher 4 bytes contain nonsense.

Manfred Weihs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]