aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/misc.h')
-rw-r--r--xorg-server/include/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h
index a1cbe8670..ca740c08b 100644
--- a/xorg-server/include/misc.h
+++ b/xorg-server/include/misc.h
@@ -164,9 +164,9 @@ typedef struct _xReq *xReqPtr;
#include <math.h>
#undef MAXSHORT
-#define MAXSHORT SHRT_MAX
+#define MAXSHORT 32767
#undef MINSHORT
-#define MINSHORT SHRT_MIN
+#define MINSHORT -32768
#undef MAXINT
#define MAXINT INT_MAX
#undef MININT