diff options
author | Eric Anholt <eric@anholt.net> | 2007-08-31 14:28:03 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-08-31 14:42:43 -0700 |
commit | 030dd885476b70c9054b6e4b50dfdbab12e73716 (patch) | |
tree | 88751da71935c2fa69f717ef63404202045407e4 /render.h | |
parent | 76a3e69e8e5a761533fc4c752bf907c2440ea6b2 (diff) | |
download | xorg-proto-renderproto-030dd885476b70c9054b6e4b50dfdbab12e73716.tar.gz |
Bug #7364: Fix the typedefs of GlyphSet, Picture, and PictFormat to be XIDs.
Without this, they would be 64-bit types on 64-bit X Servers, which
occasionally resulted in incorrect unpacking.
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -26,10 +26,10 @@ #ifndef _RENDER_H_ #define _RENDER_H_ -typedef unsigned long Glyph; -typedef unsigned long GlyphSet; -typedef unsigned long Picture; -typedef unsigned long PictFormat; +typedef XID Glyph; +typedef XID GlyphSet; +typedef XID Picture; +typedef XID PictFormat; #define RENDER_NAME "RENDER" #define RENDER_MAJOR 0 |