From 408e980a83437ed621fa99ae0cd8d2bc6579f5ba Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 27 Oct 2011 12:13:03 +0200 Subject: Fix warnings and error (due to bitrot) --- lib/liblua_wrapper.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/liblua_wrapper.h') diff --git a/lib/liblua_wrapper.h b/lib/liblua_wrapper.h index 30371fe..f83760f 100644 --- a/lib/liblua_wrapper.h +++ b/lib/liblua_wrapper.h @@ -40,7 +40,7 @@ public: * loadFile reads, parses and runs a lue file. * @return 0 on success 1 on error */ - int loadFile(char *fname); + int loadFile(const char *fname); /** * loadBuffer parses a buffer containing lue code, @@ -49,10 +49,10 @@ public: */ int loadBuffer(char *buffer); - double getReal(char *name); - int getInteger(char *name); - bool getBoolean(char *name); - std::string getString(char *name); + double getReal(const char *name); + int getInteger(const char *name); + bool getBoolean(const char *name); + std::string getString(const char *name); std::string error(); -- cgit v1.2.3