summaryrefslogtreecommitdiff
path: root/lib/info_simple.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 12:13:03 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-27 12:13:03 +0200
commit408e980a83437ed621fa99ae0cd8d2bc6579f5ba (patch)
tree7f73587d84487f989bca966a22fc1c85c3f8397b /lib/info_simple.cc
parent7d8e6af2df12442c1c133956b3acf3fdbc496423 (diff)
Fix warnings and error (due to bitrot)master-old
Diffstat (limited to 'lib/info_simple.cc')
-rw-r--r--lib/info_simple.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/info_simple.cc b/lib/info_simple.cc
index a3db393..9c78ae8 100644
--- a/lib/info_simple.cc
+++ b/lib/info_simple.cc
@@ -39,7 +39,7 @@ InfoSimple::~InfoSimple()
pthread_mutex_destroy(&mutex);
}
-void InfoSimple::error(char *fmt, ...)
+void InfoSimple::error(const char *fmt, ...)
{
char buf[1024];
@@ -57,7 +57,7 @@ void InfoSimple::error(char *fmt, ...)
fprintf(stderr, "Error: %s\n", buf);
}
-void InfoSimple::warn(char *fmt, ...)
+void InfoSimple::warn(const char *fmt, ...)
{
char buf[1024];
@@ -75,7 +75,7 @@ void InfoSimple::warn(char *fmt, ...)
fprintf(stderr, "Warning: %s\n", buf);
}
-void InfoSimple::info(char *fmt, ...)
+void InfoSimple::info(const char *fmt, ...)
{
char buf[1024];