about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--converter/other/pnmtops.c2
-rw-r--r--doc/HISTORY6
2 files changed, 6 insertions, 2 deletions
diff --git a/converter/other/pnmtops.c b/converter/other/pnmtops.c
index 349c0a66..c1dadc3e 100644
--- a/converter/other/pnmtops.c
+++ b/converter/other/pnmtops.c
@@ -1950,7 +1950,7 @@ convertPage(FILE *       const ifP,
             bool         const dict,
             bool         const vmreclaim,
             bool         const levelIsGiven,
-            bool         const levelGiven) {
+            unsigned int const levelGiven) {
     
     struct pam inpam;
     float scols, srows;
diff --git a/doc/HISTORY b/doc/HISTORY
index f6b4f3da..99e24477 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -10,9 +10,13 @@ not yet  BJH  Release 10.73.00
               'file' program (on which --mime has a new meaning so that
               'anytopnm' cannot recognize some file types).
 
-              anytopnm: recognized "Netpbm PAM" non-mime output from 'file'
+              anytopnm: recognize "Netpbm PAM" non-mime output from 'file'
               program as indicating PAM.
 
+              pnmtops: fix bug: always things -level=N is -level=1.
+              Introduced after Netpbm 10.26 (January 2005) but before 10.35
+              (August 2006).  Manifests only with recent compilers.
+
               Build: fix undefined reference to parse_printf_format etc.  on
               system that doesn't have that facility.  Broken in Netpbm 10.69
               (December 2014).