]> Shamusworld >> Repos - apple2/commitdiff
Fixed non-const function in log.h/cpp
authorShamus Hammons <jlhamm@acm.org>
Wed, 7 May 2008 06:14:40 +0000 (06:14 +0000)
committerShamus Hammons <jlhamm@acm.org>
Wed, 7 May 2008 06:14:40 +0000 (06:14 +0000)
src/log.cpp
src/log.h

index 76055665f247cea49ba1d1a78891f9d699f5727e..c52620c06813ce407fa8b13589b2ec8dbefeb0f9 100755 (executable)
@@ -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");
 
index 7e9396e2df0230bd889377cb751283a3ec2eea18..f72795eed4d88981f4461177ad8d3e4dfad4da03 100755 (executable)
--- a/src/log.h
+++ b/src/log.h
@@ -11,7 +11,7 @@
 extern "C" {
 #endif
 
-bool InitLog(char *);
+bool InitLog(const char *);
 void LogDone(void);
 void WriteLog(const char * text, ...);