[Mono-devel-list] Making System.Drawing 64 bit clean

Zoltan Varga vargaz at gmail.com
Mon Dec 27 12:24:52 EST 2004


The previous patch contained all kinds of junk, so here is a better one:

                              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/4450fa01/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdip-diff
Type: application/octet-stream
Size: 1383 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041227/4450fa01/attachment.obj 


More information about the Mono-devel-list mailing list