-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
This commit is contained in:
Kent Mein
2002-12-19 20:08:12 +00:00
parent d9df4b8feb
commit 45c360dfc4

View File

@@ -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;