/*

* /back/Source/GSContext.m ([GSContext -GSDrawImage:rect:]):
    Change type of data (I do not know why was const).
    Change call to method getBitmapPlanes (possible logic error).
    Add cast to call of NSDrawBitmap:::.... for remove the warning.
*/
--- GSContext1.m	2010-03-12 19:00:41.462362466 -0200
+++ GSContext.m	2010-03-12 19:11:53.079723865 -0200
@@ -824,15 +824,15 @@
 - (void) GSDrawImage: (NSRect) rect: (void *) imageref
 {
   NSBitmapImageRep *bitmap;
-  const unsigned char *data[5];
+  unsigned char *data[5];
 
   bitmap = (NSBitmapImageRep*)imageref;
-  [bitmap getBitmapDataPlanes: &data];
+  [bitmap getBitmapDataPlanes: data];
   [self NSDrawBitmap: rect : [bitmap pixelsWide] : [bitmap pixelsHigh]
         : [bitmap bitsPerSample] : [bitmap samplesPerPixel]
         : [bitmap bitsPerPixel] : [bitmap bytesPerRow] : [bitmap isPlanar]
         : [bitmap hasAlpha] :  [bitmap colorSpaceName]
-        : data];
+        : (const unsigned char**)data];
 }
 
 /* ----------------------------------------------------------------------- */
