Skip to content

Commit

Permalink
Fix for coverity #29409 - Use char 0 instead of NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Feb 22, 2015
1 parent 54c3cb2 commit 5240d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lisp/lexer.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 5240d81

Please sign in to comment.