git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5731d91
)
fixed compiler warnings
author
Matthias Kramm
<kramm@quiss.org>
Sun, 8 Feb 2009 20:13:12 +0000
(21:13 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Sun, 8 Feb 2009 20:13:12 +0000
(21:13 +0100)
lib/os.c
patch
|
blob
|
history
lib/os.h
patch
|
blob
|
history
diff --git
a/lib/os.c
b/lib/os.c
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);
}
diff --git
a/lib/os.h
b/lib/os.h
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);