From: kramm Date: Sun, 9 Sep 2007 10:26:56 +0000 (+0000) Subject: changed mktempname prototype X-Git-Tag: buttons-working~561 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=8bf1104532ba4fbf5dc3efb444067f3ad6291785 changed mktempname prototype --- diff --git a/lib/os.c b/lib/os.c index 0e850ca..9c4e725 100755 --- a/lib/os.c +++ b/lib/os.c @@ -161,7 +161,7 @@ static char* getTempDir() return dir; } -char* mktempname(const char*ptr) { +char* mktempname(char*ptr) { static char tmpbuf[128]; char*dir = getTempDir(); int l = strlen(dir); diff --git a/lib/os.h b/lib/os.h index 2b321db..67736fc 100755 --- a/lib/os.h +++ b/lib/os.h @@ -38,7 +38,7 @@ char* getInstallationPath(); char* concatPaths(const char*base, const char*add); char* stripFilename(const char*filename, const char*newext); -char* mktempname(const char*); +char* mktempname(char*buffer); #ifdef __cplusplus }