diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 22:33:28 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 22:33:28 +0200 |
commit | 36ae984ac77c5545d3d11dde7e37913a8eff0b0d (patch) | |
tree | 94a296b8b816c372b436c56fff8d75263cfe2d4a /src/common | |
parent | a397922e8d53c6f7ff469d38e5139fd003c705b5 (diff) | |
download | colobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.tar.gz colobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.tar.bz2 colobot-36ae984ac77c5545d3d11dde7e37913a8eff0b0d.zip |
Warnings cleaned, left only those connected to commented out code.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/misc.cpp | 2 | ||||
-rw-r--r-- | src/common/misc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/misc.cpp b/src/common/misc.cpp index 5344e0b..2ed6e2c 100644 --- a/src/common/misc.cpp +++ b/src/common/misc.cpp @@ -347,7 +347,7 @@ void AddExt(char* filename, const char* ext) // Specifies the user folder. -void UserDir(bool bUser, char* dir) +void UserDir(bool bUser, const char* dir) { g_bUserDir = bUser; strcpy(g_userDir, dir); diff --git a/src/common/misc.h b/src/common/misc.h index dd559e4..f6fd609 100644 --- a/src/common/misc.h +++ b/src/common/misc.h @@ -47,5 +47,5 @@ extern void TimeToAscii(time_t time, char *buffer); extern bool CopyFileToTemp(char* filename); extern bool CopyFileListToTemp(char* filename, int* list, int total); extern void AddExt(char* filename, const char* ext); -extern void UserDir(bool bUser, char* dir); +extern void UserDir(bool bUser, const char* dir); extern void UserDir(char* buffer, const char* dir, const char* def); |