diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-19 00:39:39 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-19 00:39:39 +0000 |
commit | 055bdcea05ec69ce144e95cb4275c9c168f5ee50 (patch) | |
tree | caa9b40699f635c6927cd2263bc10f7f1dacf143 /editor/pnmcat.c | |
parent | 1f028a3d66db42414e29bb3c86b690f290e2af85 (diff) | |
download | netpbm-mirror-055bdcea05ec69ce144e95cb4275c9c168f5ee50.tar.gz netpbm-mirror-055bdcea05ec69ce144e95cb4275c9c168f5ee50.tar.xz netpbm-mirror-055bdcea05ec69ce144e95cb4275c9c168f5ee50.zip |
Release 10.86.26
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4180 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmcat.c')
-rw-r--r-- | editor/pnmcat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/pnmcat.c b/editor/pnmcat.c index a26dcf3e..217f6b57 100644 --- a/editor/pnmcat.c +++ b/editor/pnmcat.c @@ -367,7 +367,8 @@ getPbmImageInfo(struct imgInfo const img[], switch (backcolor) { case BACK_AUTO: { bit bgBit; - img2[i].proberow = pbm_allocrow_packed(img[i].cols+7); + img2[i].proberow = + pbm_allocrow_packed((unsigned int)img[i].cols + 7); pbm_readpbmrow_bitoffset( img[i].ifP, img2[i].proberow, img[i].cols, img[i].format, img2[i].offset % 8); |