Bad typecast when using --with-debug
Urs Holzer <[email protected]> Thu, 24 Jan 2008 10:57:55 +0100
| Newsgroups | gmane.comp.web.amaya.devel |
|---|---|
| Message-ID | <[email protected]> |
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).