Fixed non-const function in log.h/cpp

This commit is contained in:
Shamus Hammons 2008-05-07 06:14:40 +00:00
parent 5aaf5d5685
commit 982645d0c5
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
static FILE * log_stream = NULL;
static uint32 logSize = 0;
bool InitLog(char * path)
bool InitLog(const char * path)
{
log_stream = fopen(path, "wrt");

View File

@ -11,7 +11,7 @@
extern "C" {
#endif
bool InitLog(char *);
bool InitLog(const char *);
void LogDone(void);
void WriteLog(const char * text, ...);