diff --git a/headers/os/support/Debug.h b/headers/os/support/Debug.h index 5a010769de..78aefdc678 100644 --- a/headers/os/support/Debug.h +++ b/headers/os/support/Debug.h @@ -31,7 +31,7 @@ extern "C" { int _sPrintf(const char *, ...); #endif int _xdebugPrintf(const char *, ...); - int _debuggerAssert(const char *, int, char *); + int _debuggerAssert(const char *, int, const char *); #ifdef __cplusplus } #endif diff --git a/src/system/libroot/os/debug.c b/src/system/libroot/os/debug.c index d689552d34..7ef95aa28a 100644 --- a/src/system/libroot/os/debug.c +++ b/src/system/libroot/os/debug.c @@ -254,7 +254,7 @@ _xdebugPrintf(const char *fmt, ...) int -_debuggerAssert(const char *file, int line, char *message) +_debuggerAssert(const char *file, int line, const char *message) { char buffer[1024]; snprintf(buffer, sizeof(buffer),