about summary refs log tree commit diff
path: root/other/pamstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/pamstack.c')
-rw-r--r--other/pamstack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/other/pamstack.c b/other/pamstack.c
index e151d99b..308852c8 100644
--- a/other/pamstack.c
+++ b/other/pamstack.c
@@ -216,10 +216,10 @@ nextImageAllStreams(unsigned int const nInput,
     unsigned int inputSeq;
 
     for (inputSeq = 0; inputSeq < nInput; ++inputSeq) {
-        bool eof;
+        int eof;
         pnm_nextimage(ifP[inputSeq], &eof);
         if (eof)
-            *eofP = eof;
+            *eofP = true;
     }
 }