Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.10.0
-
None
-
None
-
Linux x86_64/Gentoo/glibc-2.3.5/gcc-3.4.4
Description
Hi
This patch is made working with the version from http://littletux.homelinux.org/log4cxx/
The following patch removes a warning when compiling on AMD64 because
log4cxx uses "int" to store pointers when sizeof(int) == 4 and
sizeof(void*) == 8 on AMD64. It is generally more portable to use long
(still this is not a perfect solution, a perfect solution involves
proper autoconf checks and/or usage of <stdint.h> intptr_t type).