diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-11-25 20:59:09 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-11-25 20:59:09 +0000 |
commit | 90a04afc9c3b5dccfdcd528b88b726e73cf37161 (patch) | |
tree | 59306fbb4a61e4cbf6335028e772bcd0d3dff7da /converter/other | |
parent | 0746108a35256aa72b3938370a53a8d52b731e62 (diff) | |
download | netpbm-mirror-90a04afc9c3b5dccfdcd528b88b726e73cf37161.tar.gz netpbm-mirror-90a04afc9c3b5dccfdcd528b88b726e73cf37161.tar.xz netpbm-mirror-90a04afc9c3b5dccfdcd528b88b726e73cf37161.zip |
fix too-small allocation depth
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@142 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pamtogif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pamtogif.c b/converter/other/pamtogif.c index 9e19086d..2f6b0957 100644 --- a/converter/other/pamtogif.c +++ b/converter/other/pamtogif.c @@ -1416,7 +1416,7 @@ writeGlobalColorMap(FILE * const ofP, pam = cmapP->pam; pam.size = PAM_STRUCT_SIZE(allocation_depth); pam.len = pam.size; - pam.allocation_depth = 3; + pnm_setminallocationdepth(&pam, 3); tupleRgb255 = pnm_allocpamtuple(&pam); |