summaryrefslogtreecommitdiff
path: root/src/info_gui.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 15:50:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 15:50:11 +0200
commit29ae5ac36d4ffc520232ff393b2455130ec0227e (patch)
treef89f8a4f2e5d61bc20ba16d2ab46070190cb411d /src/info_gui.cc
parentcaa558e59c248521d1d4ad483fe669828277664e (diff)
fix warnings/errors.
Diffstat (limited to 'src/info_gui.cc')
-rw-r--r--src/info_gui.cc6
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];