From: Tobias Markus Date: Sun, 22 Feb 2015 15:15:05 +0000 (+0100) Subject: Fix for coverity #29409 - Use char 0 instead of NULL X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5240d812e12e6b53dc3c36bf313361d2d457382a;p=supertux.git Fix for coverity #29409 - Use char 0 instead of NULL --- diff --git a/src/lisp/lexer.cpp b/src/lisp/lexer.cpp index daa219b3c..ef1925fba 100644 --- a/src/lisp/lexer.cpp +++ b/src/lisp/lexer.cpp @@ -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(); }