long is needlessly long on LP64.

Before:
   text    data     bss     dec     hex filename
1833242   69920   49696 1952858  1dcc5a hw/vfb/Xvfb

After:
   text    data     bss     dec     hex filename
1832426   69920   49504 1951850  1dc86a hw/vfb/Xvfb

Signed-off-by: Adam Jackson <a...@redhat.com>
---
 include/resource.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/resource.h b/include/resource.h
index 763aa99..772b7b8 100644
--- a/include/resource.h
+++ b/include/resource.h
@@ -56,7 +56,7 @@ SOFTWARE.
 
 /* classes for Resource routines */
 
-typedef unsigned long RESTYPE;
+typedef uint32_t RESTYPE;
 
 #define RC_VANILLA     ((RESTYPE)0)
 #define RC_CACHED      ((RESTYPE)1<<31)
-- 
1.7.3.5

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to