Browse Source

false is not int 0

David Rose 22 years ago
parent
commit
882c90d7ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx

@@ -724,7 +724,7 @@ write_data(xel *array, xelval *alpha) {
                        iostream_dont_close, ostream_size,
                        iostream_map, iostream_unmap);
   if ( tif == NULL ) {
-    return false;
+    return 0;
   }
 
   /* Figure out TIFF parameters. */