Fri Feb 2 16:45:17 CET 2007 ariem@...
Fixed issue 'Strange polygon behaviour on 64-bit machines'
reported by Chris Mears at 14 Dec 2006.
Problem: the arrays inspected by the wxDC_Polygon function
are assumed to contain 32-bits ints. On 64-bit machines
these are actually 64-bits ints.
Fix: (a bit of a hack...) the code now assumes that the
arrays contain intptr_t values. This type represents ints
of the same number of bits as the Haskell ints (on 32-bit
and 64-bit machines). The code now dereferences each element
in the array correctly, but still truncates the possibly
64-bit value to a 32-bit value. This is not a problem
> Fri Feb 2 16:45:17 CET 2007 ariem@...
> * fix-polygon-behaviour-64
Thanks; I'll be pushing this in shortly.
Sorry for the delay.
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais.
Get latest updates about Open Source Projects, Conferences and News.