projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c10218e
)
Fix for coverity #29345
author
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 23 Feb 2015 16:19:45 +0000
(17:19 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Mon, 23 Feb 2015 16:19:45 +0000
(17:19 +0100)
src/scripting/squirrel_util.cpp
patch
|
blob
|
history
diff --git
a/src/scripting/squirrel_util.cpp
b/src/scripting/squirrel_util.cpp
index
ddf671c
..
5fd15b4
100644
(file)
--- a/
src/scripting/squirrel_util.cpp
+++ b/
src/scripting/squirrel_util.cpp
@@
-212,7
+212,7
@@
void print_squirrel_stack(HSQUIRRELVM v)
SQInteger squirrel_read_char(SQUserPointer file)
{
std::istream* in = reinterpret_cast<std::istream*> (file);
-
char
c = in->get();
+
int
c = in->get();
if(in->eof())
return 0;
return c;