[Top][All Lists]

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

[bug-gnu-libiconv] [PATCH] make genaliases* llp64 compatible

From: Ozkan Sezer
Subject: [bug-gnu-libiconv] [PATCH] make genaliases* llp64 compatible
Date: Tue, 6 Jul 2010 12:56:23 +0300


The aliases.h generators use long casts with the assumption of
sizeof(long) == sizeof(ptr*), but that is not true for llp64
systems such as win64 and causes massive amounts of compiler
warnings. The attached tiny patch remedies that by using intptr_t
instead of long, If intptr_t is not desirable for compatibility
with systems lacking the type, then size_t should also work.



Attachment: libiconv-llp64-intptr.diff
Description: Binary data

reply via email to

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