summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/log.c2
-rw-r--r--src/utils/log.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/log.c b/src/utils/log.c
index cab0c48..54253de 100644
--- a/src/utils/log.c
+++ b/src/utils/log.c
@@ -15,7 +15,7 @@ void _printLogBack(const char *format, const char *file, int line, ...) {
free(errorStr);
}
-void _printErrorWarningBack(const char *file, int line, char *begin, char *end,
+void _printErrorWarningBack(const char *file, int line, const char *begin, const char *end,
bool isError, const char *format, ...) {
va_list args;
va_start(args, end);
diff --git a/src/utils/log.h b/src/utils/log.h
index f9fb7ed..b89876a 100644
--- a/src/utils/log.h
+++ b/src/utils/log.h
@@ -22,4 +22,4 @@
extern void _printLogBack(const char *format, const char *file, int line, ...);
-extern void _printErrorWarningBack(const char *file, int line, char *begin, char *end,bool isError,const char *format, ...);
+extern void _printErrorWarningBack(const char *file, int line, const char *begin, const char *end,bool isError,const char *format, ...);