diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-07 01:32:55 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2021-11-07 01:32:55 +0000 |
commit | 54081f1e108cb4a385f951cbc293368829e39320 (patch) | |
tree | f100ce9b57442d2b57946a93c854fa0b5fbd0463 /editor/pnmcat.c | |
parent | 4d5728723616f3713725d85df790666e8d75b963 (diff) | |
download | netpbm-mirror-54081f1e108cb4a385f951cbc293368829e39320.tar.gz netpbm-mirror-54081f1e108cb4a385f951cbc293368829e39320.tar.xz netpbm-mirror-54081f1e108cb4a385f951cbc293368829e39320.zip |
Release 10.96.03
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4176 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 c660698c..9097dc99 100644 --- a/editor/pnmcat.c +++ b/editor/pnmcat.c @@ -367,7 +367,8 @@ getPbmImageInfo(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); |