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_gui.cc | |
parent | caa558e59c248521d1d4ad483fe669828277664e (diff) |
fix warnings/errors.
Diffstat (limited to 'src/info_gui.cc')
-rw-r--r-- | src/info_gui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/info_gui.cc b/src/info_gui.cc index aa831b6..cb2e51d 100644 --- a/src/info_gui.cc +++ b/src/info_gui.cc @@ -98,7 +98,7 @@ void InfoGui::showmsg(char *msg, char *title, msg_icon icon) pthread_mutex_unlock(&mutex); } -void InfoGui::error(char *fmt, ...) +void InfoGui::error(const char *fmt, ...) { char buf[1024]; @@ -112,7 +112,7 @@ void InfoGui::error(char *fmt, ...) log("Error: %s", buf); } -void InfoGui::warn(char *fmt, ...) +void InfoGui::warn(const char *fmt, ...) { char buf[1024]; @@ -126,7 +126,7 @@ void InfoGui::warn(char *fmt, ...) log("Warning: %s", buf); } -void InfoGui::info(char *fmt, ...) +void InfoGui::info(const char *fmt, ...) { char buf[1024]; |