-----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-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to