From b8bca22927dfecf6ccee790fa14df78023367ad2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 6 Sep 2011 03:52:39 +0200 Subject: _NET_FRAME_EXTENTS: Remove annoying Warning message. 1 Compiler warning --- src/newt/native/X11Window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 43ff6b3bc..95ce7b91c 100644 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -409,7 +409,7 @@ static jobject getJavaWindowProperty(JNIEnv *env, Display *dpy, Window window, j XFree(jogl_java_object_data_pp); if(True==showWarning) { fprintf(stderr, "Warning: NEWT X11Window: Fetched invalid Atom NEWT_JAVA_OBJECT window property (res %d) nitems %ld, bytes_after %ld, actual_type %ld, NEWT_JAVA_OBJECT %ld, result 0!\n", - res, nitems, bytes_after, (long)actual_type, javaObjectAtom); + res, nitems, bytes_after, (long)actual_type, (long)javaObjectAtom); } return NULL; } @@ -484,15 +484,15 @@ static Status NewtWindows_getFrameExtends(Display *dpy, Window window, int *left &nitems, &bytes_after, &frame_extends_data_pp); if ( Success != res ) { - fprintf(stderr, "Warning: NEWT X11Window: Could not fetch Atom _NET_FRAME_EXTENTS window property (res %d) nitems %ld, bytes_after %ld, result 0!\n", res, nitems, bytes_after); + fprintf(stderr, "Error: NEWT X11Window: Could not fetch Atom _NET_FRAME_EXTENTS window property (res %d) nitems %ld, bytes_after %ld, result 0!\n", res, nitems, bytes_after); return 0; // Error } if(nitems