From e6e44774556bf6172c1577268cf9f013a4157ae2 Mon Sep 17 00:00:00 2001 From: A404M Date: Sun, 27 Apr 2025 02:11:41 +0330 Subject: add operator overloading --- src/utils/log.c | 2 +- src/utils/log.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') 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, ...); -- cgit v1.2.3