Hi,

This makes things compile under --enable-Werror again.

2006-06-03  Mark Wielaard  <[EMAIL PROTECTED]>

   * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
   comments, not C++.

Committed,

Mark

diff -u -r1.13 gnu_java_awt_peer_gtk_CairoSurface.c
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c    2 Jun 2006 
22:57:31 -0000       1.13
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c    3 Jun 2006 
05:15:14 -0000
@@ -166,7 +166,7 @@

   jpixdata = (*env)->GetIntArrayElements (env, jpixels, NULL);
   size = (*env)->GetArrayLength( env, jpixels );
-  if( size > width * height ) size = width * height; // stop overflows.
+  if( size > width * height ) size = width * height; /* stop overflows. */

   memcpy (pixeldata, jpixdata, size * sizeof( jint ));


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to