projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c3cb2
)
Fix for coverity #29409 - Use char 0 instead of NULL
author
Tobias Markus
<tobbi.bugs@googlemail.com>
Sun, 22 Feb 2015 15:15:05 +0000
(16:15 +0100)
committer
Tobias Markus
<tobbi.bugs@googlemail.com>
Sun, 22 Feb 2015 15:15:05 +0000
(16:15 +0100)
src/lisp/lexer.cpp
patch
|
blob
|
history
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();
}