From: Matthias Kramm Date: Sun, 8 Feb 2009 20:13:12 +0000 (+0100) Subject: fixed compiler warnings X-Git-Tag: release-0-9-0~132 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=fcd944d85fae1750294f8fd387fe947b845d6eb9 fixed compiler warnings --- 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);