Fix for coverity #29409 - Use char 0 instead of NULL
[supertux.git] / src / lisp / lexer.cpp
index daa219b..ef1925f 100644 (file)
@@ -34,8 +34,8 @@ Lexer::Lexer(std::istream& newstream) :
   token_length()
 {
   // trigger a refill of the buffer
-  bufpos = NULL;
-  bufend = NULL;
+  bufpos = '\0';
+  bufend = '\0';
   nextChar();
 }