diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-12-19 23:08:12 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-12-19 23:08:12 +0300 |
commit | 45c360dfc4015fe3b7252587077da3ee57352582 (patch) | |
tree | 8f5e4272471228f495f24819f50946175dcbaaab | |
parent | d9df4b8feb2349cc79460d4547473c1131e9d274 (diff) |
-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
-rwxr-xr-x | intern/ghost/intern/GHOST_SystemX11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |