From: Arie M. <ar...@cs...> - 2007-02-02 13:31:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I managed to fix the problem of incorrect polygon drawing on 64-bit machines. It is basically a similar fix of what I send in a long time ago, but it has portability issues with respect to win32: A simple fix is to change (in wxc/src/ewxw/eljdc.cpp) the cast to (int*) to the cast to (intptr_t*). On a 64-bit machine, this will cause a correct read of the 64-bit int (provided by the Haskell world) and truncates it to a 32-bit int required by wxWidgets. What I remember is that intptr_t is not defined in win32. How was this solved previous time? Greetings, Arie -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) iD8DBQFFwz0Xo/bEreefDJoRAvRWAKCYpZJOWFUEalBICUNLzoQU+77+cgCdHmY2 y3V/DsaVZVu8+r505UHom7Q= =W69U -----END PGP SIGNATURE----- |