diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-27 12:13:03 +0200 |
commit | 408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch) | |
tree | 7f73587d84487f989bca966a22fc1c85c3f8397b /server/info_console.cc | |
parent | 7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff) |
Fix warnings and error (due to bitrot)master-old
Diffstat (limited to 'server/info_console.cc')
-rw-r--r-- | server/info_console.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/info_console.cc b/server/info_console.cc index fdceb2f..df544dc 100644 --- a/server/info_console.cc +++ b/server/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]; |