bug-gnulib
[Top][All Lists]
Advanced

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

memcmp.c needs intptr_t


From: O.Sezer
Subject: memcmp.c needs intptr_t
Date: Sun, 1 Feb 2009 17:46:21 +0200

Hello:  Found this while compiling gdb for win64: memcmp.c
casts long to pointers but sizeof(long) == 4 for win64. A patch
is attached here.  (if it gets applied, does it automatically go
into gdb and/or any other users?)

Regards,
Ozkan Sezer

PS:  There are a few similar errors of long type in libiberty,
as it appears in binutils and gcc, too, specifically in md5.h
(uintptr_t type definition) and in hashtab.c (in hash_pointer() ).
Where should the patches be sent to?

Attachment: gnulib-memcmp-intptr.patch
Description: Binary data


reply via email to

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