]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xpm/RdFToI.c
make more wxImage methods const
[wxWidgets.git] / src / xpm / RdFToI.c
index 89cdc4ec0fc0b2dcb1076b28e46dd6594022ec04..eff47d3ef339b45be3cee22452e03a7d8156c75c 100644 (file)
@@ -155,8 +155,9 @@ OpenReadFile(filename, mdata)
 #endif
 {
 #ifndef NO_ZPIPE
-    char *compressfile, buf[BUFSIZ];
+    char buf[BUFSIZ];
 # ifdef STAT_ZFILE
+    char *compressfile;
     struct stat status;
 # endif
 #endif