summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/BLua.cc2
-rw-r--r--lib/generic.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 76cd443..b08223c 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -671,7 +671,7 @@ void Lua::push(bool b) {
lua_pushboolean(L, b);
}
-void Lua::push(char * s, int size) {
+void Lua::push(const char * s, int size) {
if (size < 0) {
lua_pushstring(L, s);
} else {
diff --git a/lib/generic.cc b/lib/generic.cc
index 689a83c..8c2a66f 100644
--- a/lib/generic.cc
+++ b/lib/generic.cc
@@ -28,7 +28,7 @@
#endif
char verbosity = M_ERROR;
-static char * heads[] = {NULL, "EE", "--", "WW", "II"};
+static const char * heads[] = {NULL, "EE", "--", "WW", "II"};
printer_t * printer = 0;
locker_t * locker = 0;