summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-10 14:47:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-10 14:47:53 (GMT)
commit97a1c864b7a9cb16bacccb971a2785fa74e19494 (patch)
treead766200904cc1e6a92c70189308718f7fe55380 /xlib
parent6477bb91460d01e185a152d6be44bfd9d1d7362e (diff)
downloadtk-97a1c864b7a9cb16bacccb971a2785fa74e19494.zip
tk-97a1c864b7a9cb16bacccb971a2785fa74e19494.tar.gz
tk-97a1c864b7a9cb16bacccb971a2785fa74e19494.tar.bz2
Make XID typedef unsigned, since it's unsigned as well on all other platforms.
Extend maximum KeySym to allow up to 0x1008FFFF, since there are some MultiMedia keys allocated there.
Diffstat (limited to 'xlib')
-rw-r--r--xlib/X11/X.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlib/X11/X.h b/xlib/X11/X.h
index b43967e..c2c57af 100644
--- a/xlib/X11/X.h
+++ b/xlib/X11/X.h
@@ -41,7 +41,7 @@ SOFTWARE.
/* Resources */
#ifdef _WIN64
-typedef __int64 XID;
+typedef unsigned __int64 XID;
#else
typedef unsigned long XID;
#endif