about summary refs log tree commit diff
path: root/converter/pbm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-12-16 23:01:58 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-12-16 23:01:58 +0000
commit67f1d42ebf38c32ff7932b6ab5b5e4f1a36cd1a3 (patch)
treee50a05c213a79a1e10f1ea9598d6e60ee9dc2536 /converter/pbm
parentf14bb3e4bed610cb5de5c04d5318e93d2cdffe73 (diff)
downloadnetpbm-mirror-67f1d42ebf38c32ff7932b6ab5b5e4f1a36cd1a3.tar.gz
netpbm-mirror-67f1d42ebf38c32ff7932b6ab5b5e4f1a36cd1a3.tar.xz
netpbm-mirror-67f1d42ebf38c32ff7932b6ab5b5e4f1a36cd1a3.zip
Fix assertion failure
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2852 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm')
-rw-r--r--converter/pbm/pbmtoascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/pbm/pbmtoascii.c b/converter/pbm/pbmtoascii.c
index b9e9054a..0305a47b 100644
--- a/converter/pbm/pbmtoascii.c
+++ b/converter/pbm/pbmtoascii.c
@@ -197,7 +197,7 @@ pbmtoascii(FILE *       const ifP,
            etc.  A signature is an encoding of the pixels of a cell as
            an integer, as described above.
         */
-    assert(cellWidth * cellHeight <= sizeof(signatureRow[0]*8));
+    assert(cellWidth * cellHeight <= sizeof(signatureRow[0])*8);
 
     pbm_readpbminit(ifP, &cols, &rows, &format);