diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-27 02:11:41 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-27 02:11:41 +0330 |
commit | e6e44774556bf6172c1577268cf9f013a4157ae2 (patch) | |
tree | e3e79aafcf09be8e97bf0c6530fd023905802d6c /src/utils | |
parent | c85ce38fbb02342d8ef00030d203ab6bcc690f73 (diff) |
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/log.c | 2 | ||||
-rw-r--r-- | src/utils/log.h | 2 |
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, ...); |