From 1f2bc777f96fd41feb55a4799ece939652130ef4 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 28 Feb 2011 13:11:12 -0500 Subject: [PATCH] dix: Shrink PropertyRec on LP64 size needn't be a long. No change on ILP32 but, combined with the previous change, 56 -> 40 bytes on LP64. Reviewed-by: Daniel Stone Signed-off-by: Adam Jackson --- include/propertyst.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/propertyst.h b/include/propertyst.h index fd1148eb7..1edd11d5d 100644 --- a/include/propertyst.h +++ b/include/propertyst.h @@ -58,8 +58,8 @@ typedef struct _Property { struct _Property *next; ATOM propertyName; ATOM type; /* ignored by server */ - short format; /* format of data for swapping - 8,16,32 */ - long size; /* size of data in (format/8) bytes */ + uint32_t format; /* format of data for swapping - 8,16,32 */ + uint32_t size; /* size of data in (format/8) bytes */ pointer data; /* private to client */ PrivateRec *devPrivates; } PropertyRec;