From d950d26c9fe933e5ff63ddabd4768da0a707a64e Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Tue, 12 Sep 2023 12:33:03 +0200 Subject: [PATCH] Fix cpplint --- src/squirrel/squirrel_virtual_machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/squirrel/squirrel_virtual_machine.cpp b/src/squirrel/squirrel_virtual_machine.cpp index ba26a5cf2db..b177993766c 100644 --- a/src/squirrel/squirrel_virtual_machine.cpp +++ b/src/squirrel/squirrel_virtual_machine.cpp @@ -49,7 +49,7 @@ __attribute__((__format__ (__printf__, 2, 0))) void printfunc(HSQUIRRELVM, const char* fmt, ...) { char buf[4096]; - char separator[] = "\n"; + const char separator[] = "\n"; va_list arglist; va_start(arglist, fmt); vsnprintf(buf, sizeof(buf), fmt, arglist);