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 85f9e5d4f..f56c2c609 100644
--- a/xorg-server/include/misc.h
+++ b/xorg-server/include/misc.h
@@ -169,9 +169,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