From: Ingo Ruhnke Date: Thu, 14 Aug 2014 00:43:26 +0000 (+0200) Subject: Fixed compiler warning in Squirrel X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6120c12b82ae4807cce6ea7c25e5ed03b204ab6e;p=supertux.git Fixed compiler warning in Squirrel --- diff --git a/external/squirrel/squirrel/sqcompiler.cpp b/external/squirrel/squirrel/sqcompiler.cpp index 1f8a20caa..fbd2993a9 100644 --- a/external/squirrel/squirrel/sqcompiler.cpp +++ b/external/squirrel/squirrel/sqcompiler.cpp @@ -80,7 +80,7 @@ public: _lineinfo = lineinfo;_raiseerror = raiseerror; _scope.outers = 0; _scope.stacksize = 0; - _compilererror[0] = NULL; + _compilererror[0] = '\0'; } static void ThrowError(void *ud, const SQChar *s) { SQCompiler *c = (SQCompiler *)ud;