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>
This commit is contained in:
parent
51f353d0a0
commit
1f2bc777f9
|
@ -58,8 +58,8 @@ typedef struct _Property {
|
||||||
struct _Property *next;
|
struct _Property *next;
|
||||||
ATOM propertyName;
|
ATOM propertyName;
|
||||||
ATOM type; /* ignored by server */
|
ATOM type; /* ignored by server */
|
||||||
short format; /* format of data for swapping - 8,16,32 */
|
uint32_t format; /* format of data for swapping - 8,16,32 */
|
||||||
long size; /* size of data in (format/8) bytes */
|
uint32_t size; /* size of data in (format/8) bytes */
|
||||||
pointer data; /* private to client */
|
pointer data; /* private to client */
|
||||||
PrivateRec *devPrivates;
|
PrivateRec *devPrivates;
|
||||||
} PropertyRec;
|
} PropertyRec;
|
||||||
|
|
Loading…
Reference in New Issue