From 36ae984ac77c5545d3d11dde7e37913a8eff0b0d Mon Sep 17 00:00:00 2001 From: Zaba999 Date: Tue, 18 Sep 2012 22:33:28 +0200 Subject: Warnings cleaned, left only those connected to commented out code. --- src/common/misc.cpp | 2 +- src/common/misc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') 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); -- cgit v1.2.3-1-g7c22