Minor tweak.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 23 Mar 2012 02:43:22 -0400
changeset 1260 819019602217
parent 1259 b01150541cfd
child 1261 cd5a31f4602a
Minor tweak.
src/archiver_grp.c
--- a/src/archiver_grp.c	Fri Mar 23 00:55:56 2012 -0400
+++ b/src/archiver_grp.c	Fri Mar 23 02:43:22 2012 -0400
@@ -70,7 +70,7 @@
 
     assert(io != NULL);  /* shouldn't ever happen. */
 
-    BAIL_IF_MACRO(forWriting, PHYSFS_ERR_READ_ONLY, 0);
+    BAIL_IF_MACRO(forWriting, PHYSFS_ERR_READ_ONLY, NULL);
 
     BAIL_IF_MACRO(!__PHYSFS_readAll(io, buf, sizeof (buf)), ERRPASS, NULL);
     if (memcmp(buf, "KenSilverman", sizeof (buf)) != 0)