Bad typecast when using --with-debug

Hello

There is a problem with a typecast when compiling on a 64bit 
architecture (Linux). However, this problem turns up only when the 
debugging options are on (i.e. when configure is called 
with --with-debug which causes AMAYA_DEBUG to be on).

Here the error messages:

../../amaya/MENUconf.c: In function ‘void TemplatesCallbackDialog(int, 
int, char*)’:
../../amaya/MENUconf.c:2581: error: cast from ‘char*’ to ‘int’ loses 
precision
../../amaya/MENUconf.c: In function ‘void PasswordsCallbackDialog(int, 
int, char*)’:
../../amaya/MENUconf.c:2670: error: cast from ‘char*’ to ‘int’ loses 
precision

I used revision 1.271 of the file MENUconf.c (the newest one at time of 
writing this).

Received on Thursday, 24 January 2008 09:58:18 UTC