fixed compiler warnings
authorMatthias Kramm <kramm@quiss.org>
Sun, 8 Feb 2009 20:13:12 +0000 (21:13 +0100)
committerMatthias Kramm <kramm@quiss.org>
Sun, 8 Feb 2009 20:13:12 +0000 (21:13 +0100)
lib/os.c
lib/os.h

index 383473e..ccb0041 100755 (executable)
--- a/lib/os.c
+++ b/lib/os.c
@@ -269,7 +269,8 @@ void memfile_close(memfile_t*file)
 #else
     free(file->data);
 #endif
-    file->data = file->len = 0;
+    file->data = 0;
+    file->len = 0;
     free(file);
 }
 
index 8452f7d..d7cb2a2 100755 (executable)
--- a/lib/os.h
+++ b/lib/os.h
@@ -29,7 +29,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 extern "C" {
 #endif
 
-extern char*path_seperator;
+extern char path_seperator;
 
 #ifdef WIN32
 char* getRegistryEntry(char*path);