diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-14 23:16:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-10-02 22:16:06 -0700 |
commit | 510c5429e4c2e2f4d8752e688e9fbc008523774d (patch) | |
tree | 53ce30389d040df47d533fd802fc349d95647ba4 /print11.c | |
parent | e1e857744290f0a09d60435e8d5997efb0a436ba (diff) | |
download | xscope-510c5429e4c2e2f4d8752e688e9fbc008523774d.tar.gz |
Convert ValueRec structures from unsigned long to uint32_t values
Used for GC struct members, which are defined in the protocol as 32-bit,
so no need to waste time and memory copying into 64-bit longs everywhere
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'print11.c')
-rw-r--r-- | print11.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2205,9 +2205,9 @@ FreePixmap(FD fd, const unsigned char *buf) PrintField(buf, 4, 4, PIXMAP, "pixmap"); } -static const unsigned long GCDefaults[] = { +static const uint32_t GCDefaults[] = { 3, /* function GXcopy */ - ~0, /* planemask */ + (uint32_t) ~0, /* planemask */ 0, /* foreground */ 1, /* background */ 0, /* line width */ |