diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-15 19:28:42 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-15 19:28:42 +0000 |
commit | 03dbb73eec19f2a8874cd9aab327ed6bc6f97867 (patch) | |
tree | e9df05c93d42ef8eeab518452b8d21ace51fc834 /urt/rle_code.h | |
parent | 13894c659cc013427ddafa483768472fbcc76623 (diff) | |
download | netpbm-mirror-03dbb73eec19f2a8874cd9aab327ed6bc6f97867.tar.gz netpbm-mirror-03dbb73eec19f2a8874cd9aab327ed6bc6f97867.tar.xz netpbm-mirror-03dbb73eec19f2a8874cd9aab327ed6bc6f97867.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4758 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'urt/rle_code.h')
-rw-r--r-- | urt/rle_code.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/urt/rle_code.h b/urt/rle_code.h index 493cdc02..525066d4 100644 --- a/urt/rle_code.h +++ b/urt/rle_code.h @@ -46,17 +46,18 @@ #define H_ALPHA 0x4 /* if set, alpha channel (-1) present */ #define H_COMMENT 0x8 /* if set, comments present */ -struct XtndRsetup -{ - char hc_xpos[2], - hc_ypos[2], - hc_xlen[2], - hc_ylen[2]; - char h_flags, - h_ncolors, - h_pixelbits, - h_ncmap, - h_cmaplen; +struct XtndRsetup { + /* This maps the layout of the header text in the file */ + + unsigned char hc_xpos[2]; + unsigned char hc_ypos[2]; + unsigned char hc_xlen[2]; + unsigned char hc_ylen[2]; + unsigned char h_flags; + unsigned char h_ncolors; + unsigned char h_pixelbits; + unsigned char h_ncmap; + unsigned char h_cmaplen; /* log2 of color map size */ }; #define SETUPSIZE ((4*2)+5) |