[Mono-devel-list] making libgdiplus and System.Drawing 64 bit clean

Zoltan Varga vargaz at gmail.com
Mon Dec 27 11:49:21 EST 2004


                              Hi,

  The attached patch attempts to fix 64 bit issues in libgdiplus and
Sys.Drawing.
In addition to this patch, there are some warnings in graphics.c
because sometimes hDC is treated as an int and sometimes as a pointer.
I don't know which
one is correct, so the patch doesn't touch these.

graphics.c: In function `GdipCreateFromHDC':
graphics.c:294: warning: cast to pointer from integer of different size
graphics.c: In function `GdipCreateFromHWND':
graphics.c:320: warning: cast from pointer to integer of different size
graphics.c:329: warning: cast from pointer to integer of different size
graphics.c: In function `GdipGetDC':
graphics.c:398: warning: cast from pointer to integer of different size
graphics.c: In function `GdipReleaseDC':
graphics.c:406: warning: cast from pointer to integer of different size
-------------- next part --------------
A non-text attachment was scrubbed...
Name: System.Drawing.diff
Type: text/x-patch
Size: 7572 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041227/7e8b542a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdip-diff
Type: application/octet-stream
Size: 159067 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041227/7e8b542a/attachment.obj 


More information about the Mono-devel-list mailing list