Fixed compiler warning in Squirrel
authorIngo Ruhnke <grumbel@gmail.com>
Thu, 14 Aug 2014 00:43:26 +0000 (02:43 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Thu, 14 Aug 2014 00:43:26 +0000 (02:43 +0200)
external/squirrel/squirrel/sqcompiler.cpp

index 1f8a20c..fbd2993 100644 (file)
@@ -80,7 +80,7 @@ public:
                _lineinfo = lineinfo;_raiseerror = raiseerror;\r
                _scope.outers = 0;\r
                _scope.stacksize = 0;\r
-               _compilererror[0] = NULL;\r
+               _compilererror[0] = '\0';\r
        }\r
        static void ThrowError(void *ud, const SQChar *s) {\r
                SQCompiler *c = (SQCompiler *)ud;\r