From fcd944d85fae1750294f8fd387fe947b845d6eb9 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sun, 8 Feb 2009 21:13:12 +0100 Subject: [PATCH] fixed compiler warnings --- lib/os.c | 3 ++- lib/os.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/os.c b/lib/os.c index 383473e..ccb0041 100755 --- 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); } diff --git a/lib/os.h b/lib/os.h index 8452f7d..d7cb2a2 100755 --- 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); -- 1.7.10.4