From 4717094a96ed965d669a770aec2c9d47519f5f45 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sat, 2 Dec 2000 15:56:20 +0000 Subject: [PATCH] Allow xlib to build with gcc "2.96". sr=blizzard@mozilla.org --- widget/src/xlib/nsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/xlib/nsWindow.cpp b/widget/src/xlib/nsWindow.cpp index d18ef39f4e67..4e7745e9aa19 100644 --- a/widget/src/xlib/nsWindow.cpp +++ b/widget/src/xlib/nsWindow.cpp @@ -246,7 +246,7 @@ void nsWindow::NativeGrab(PRBool aGrab) retval = XGrabPointer(mDisplay, mBaseWindow, PR_TRUE, (ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask), GrabModeAsync, GrabModeAsync, - (Window*)NULL, newCursor, CurrentTime); + (Window)0, newCursor, CurrentTime); if (retval != GrabSuccess) fprintf(stderr, "Grab pointer failed!\n");