summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/skin_parser/skin_debug.c2
-rw-r--r--lib/skin_parser/skin_debug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c
index 88ad209..633e770 100644
--- a/lib/skin_parser/skin_debug.c
+++ b/lib/skin_parser/skin_debug.c
@@ -39,7 +39,7 @@ char *error_line_start;
char* error_message;
/* Debugging functions */
-void skin_error(enum skin_errorcode error, char* cursor)
+void skin_error(enum skin_errorcode error, const char* cursor)
{
error_col = 0;
diff --git a/lib/skin_parser/skin_debug.h b/lib/skin_parser/skin_debug.h
index c353808..3f1a7d7 100644
--- a/lib/skin_parser/skin_debug.h
+++ b/lib/skin_parser/skin_debug.h
@@ -35,7 +35,7 @@ extern "C"
#include "skin_parser.h"
#ifdef SKINPARSER_DEBUG
/* Debugging functions */
-void skin_error(enum skin_errorcode error, char* cursor);
+void skin_error(enum skin_errorcode error, const char* cursor);
int skin_error_line(void);
int skin_error_col(void);
char* skin_error_message(void);