Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2002-12-19 23:08:12 +0300
committerKent Mein <mein@cs.umn.edu>2002-12-19 23:08:12 +0300
commit45c360dfc4015fe3b7252587077da3ee57352582 (patch)
tree8f5e4272471228f495f24819f50946175dcbaaab /intern
parentd9df4b8feb2349cc79460d4547473c1131e9d274 (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
Diffstat (limited to 'intern')
-rwxr-xr-xintern/ghost/intern/GHOST_SystemX11.cpp2
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;