diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-28 17:33:08 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-28 17:33:08 +0000 |
commit | 904c1e64ad0d672c04c1c28e0f0d760b0e7c7cae (patch) | |
tree | 3c1d585b131c0a52098fbcac493112e13e70fd60 /converter | |
parent | b262c2b0b8553abdb208357d39b1ec633693a03a (diff) | |
download | netpbm-mirror-904c1e64ad0d672c04c1c28e0f0d760b0e7c7cae.tar.gz netpbm-mirror-904c1e64ad0d672c04c1c28e0f0d760b0e7c7cae.tar.xz netpbm-mirror-904c1e64ad0d672c04c1c28e0f0d760b0e7c7cae.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4196 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r-- | converter/pgm/st4topgm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/pgm/st4topgm.c b/converter/pgm/st4topgm.c index 90be6b72..791184b7 100644 --- a/converter/pgm/st4topgm.c +++ b/converter/pgm/st4topgm.c @@ -69,11 +69,11 @@ writeRaster(FILE * const ifP, unsigned int col; for (col = 0; col < st4Width; ++col) { - char c; + unsigned char c; - pm_readchar(ifP, &c); + pm_readcharu(ifP, &c); - tuplerow[col][0] = (unsigned char)c; + tuplerow[col][0] = c; } pnm_writepamrow(pamP, tuplerow); } |