about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-12-25 17:17:46 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-12-25 17:17:46 +0000
commit6e7713ec95fc7e70fb470f27e4a82db5232f6b87 (patch)
treee2dab8d83f9bd694a2a9eb8922ac1b9ef4862a99
parent60b5be72d135ed2837b761a63409bdf76d946b10 (diff)
downloadnetpbm-mirror-6e7713ec95fc7e70fb470f27e4a82db5232f6b87.tar.gz
netpbm-mirror-6e7713ec95fc7e70fb470f27e4a82db5232f6b87.tar.xz
netpbm-mirror-6e7713ec95fc7e70fb470f27e4a82db5232f6b87.zip
Relase 10.73.06
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@2854 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/pbm/pbmtoascii.c2
-rw-r--r--doc/HISTORY6
2 files changed, 7 insertions, 1 deletions
diff --git a/converter/pbm/pbmtoascii.c b/converter/pbm/pbmtoascii.c
index fd590aa6..976b188f 100644
--- a/converter/pbm/pbmtoascii.c
+++ b/converter/pbm/pbmtoascii.c
@@ -191,7 +191,7 @@ pbmtoascii(FILE *       const ifP,
         /* This describes in a single integer the pixels of a cell,
            as described above.
         */
-    assert(cellWidth * cellHeight <= sizeof(sig[0]*8));
+    assert(cellWidth * cellHeight <= sizeof(sig[0])*8);
 
     pbm_readpbminit(ifP, &cols, &rows, &format);
 
diff --git a/doc/HISTORY b/doc/HISTORY
index 161c5a24..c8128db2 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -4,6 +4,12 @@ Netpbm.
 CHANGE HISTORY 
 --------------
 
+16.12.25 BJH  Release 10.73.06
+
+              pbmtoascii: fix bogus assertion failure.  Introduced in 
+              Netpbm 10.51 (June 2010) and visible only with a custom
+              build with assertion checking.
+
 16.12.01 BJH  Release 10.73.05
 
               pnmpad: fix bug: incorrect output width.  Introduced in