diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 15:50:11 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 15:50:11 +0200 |
commit | 29ae5ac36d4ffc520232ff393b2455130ec0227e (patch) | |
tree | f89f8a4f2e5d61bc20ba16d2ab46070190cb411d /src/info_console.cc | |
parent | caa558e59c248521d1d4ad483fe669828277664e (diff) |
fix warnings/errors.
Diffstat (limited to 'src/info_console.cc')
-rw-r--r-- | src/info_console.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/info_console.cc b/src/info_console.cc index ce406fb..3a197a9 100644 --- a/src/info_console.cc +++ b/src/info_console.cc @@ -43,7 +43,7 @@ InfoConsole::~InfoConsole() pthread_mutex_destroy(&mutex); } -void InfoConsole::error(char *fmt, ...) +void InfoConsole::error(const char *fmt, ...) { char buf[1024]; @@ -62,7 +62,7 @@ void InfoConsole::error(char *fmt, ...) log("Error: %s", buf); } -void InfoConsole::warn(char *fmt, ...) +void InfoConsole::warn(const char *fmt, ...) { char buf[1024]; @@ -81,7 +81,7 @@ void InfoConsole::warn(char *fmt, ...) log("Warning: %s", buf); } -void InfoConsole::info(char *fmt, ...) +void InfoConsole::info(const char *fmt, ...) { char buf[1024]; |