From 45c360dfc4015fe3b7252587077da3ee57352582 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Thu, 19 Dec 2002 20:08:12 +0000 Subject: [PATCH] -static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) { +static void SleepTillEvent(Display *display, GHOST_TInt64 maxSleep) { maxSleep is checked against -1 so it needs to have a sign. This could even fix some stability problems since -1 is passed in sometimes in the code. Kent -- mein@cs.umn.edu --- intern/ghost/intern/GHOST_SystemX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index 0d4752634a1..651fd226829 100755 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -247,7 +247,7 @@ findGhostWindow( } -static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) { +static void SleepTillEvent(Display *display, GHOST_TInt64 maxSleep) { int fd = ConnectionNumber(display); fd_set fds;