projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for coverity #29409 - Use char 0 instead of NULL
[supertux.git]
/
src
/
lisp
/
lexer.cpp
diff --git
a/src/lisp/lexer.cpp
b/src/lisp/lexer.cpp
index
daa219b
..
ef1925f
100644
(file)
--- 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();
}