diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 01:23:05 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-13 01:23:05 +0000 |
commit | ef7712f05885b5654f0fb31711b14eb2e52d7d1d (patch) | |
tree | 569089b2889245ce121a8e346274ae85b65b35c9 | |
parent | 8ab0584b34a4f7707c746512cd553883670f3da7 (diff) |
//bugs.freedesktop.org/show_bug.cgi?id=1939) attachment #1398
(https://bugs.freedesktop.org/attachment.cgi?id=1398): Fixe size of a
variable that gets assigned the value of SmartScheduleTime (|long|) to
|long|. This should help to prevent smart scheduler lockup on 64 bit
systems due to datatype overruns. Patch by Andreas Schwab and Egbert
Eich <eich@freedesktop.org>.
-rw-r--r-- | dix/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index 08d523441..5034b4b2d 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.4 2004/07/29 18:43:58 stukreit Exp $ */ +/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.5 2004/07/31 01:48:27 anholt Exp $ */ /* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */ /************************************************************ @@ -362,7 +362,7 @@ Dispatch(void) register int nready; register HWEventQueuePtr* icheck = checkForInput; #ifdef SMART_SCHEDULE - int start_tick; + long start_tick; #endif nextFreeClientID = 1; |