diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-28 13:11:12 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-14 13:44:46 -0400 |
commit | 1f2bc777f96fd41feb55a4799ece939652130ef4 (patch) | |
tree | 77ea8656e02a8646f470894d5a7becd83e98a1fc /include | |
parent | 51f353d0a0d116af16d7d9590cadef6c56328746 (diff) |
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 <daniel@fooishbar.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/propertyst.h | 4 |
1 files 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; |