Re: 64-bits problem

Patch already merged in CVS.

Regis

On Thu, March 1, 2007 02:19, Sergio Monteiro Basto wrote:
> g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GTK   -DHAVE_CONFIG_H -I..
> -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var
> -I../../thotlib/internals/h -I../../thotlib/internals/f
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include
> -I/usr/include       -c ../../thotlib/base/containers.c -o
> base/containers.o
> ../../thotlib/base/containers.c: In function 'int
> HashMap_SimpleCompareKey(void*, void*)':
> ../../thotlib/base/containers.c:460: error: cast from 'void*' to 'int'
> loses precision
> ../../thotlib/base/containers.c:460: error: cast from 'void*' to 'int'
> loses precision
> ../../thotlib/base/containers.c: In function 'int
> PointerHashMap_HashFunction(void*)':
> ../../thotlib/base/containers.c:728: error: cast from 'void*' to 'int'
> loses precision
> make[1]: *** [base/containers.o] Error 1
>
> --
> Sérgio M.B.
>

Received on Thursday, 1 March 2007 09:15:16 UTC