run_compile_commands: Cast istream::get() result to char
We perform error checking on the stream after reading so this conversion is safe.
This commit is contained in:
parent
c45c60b24f
commit
4268e3d7e9
|
@ -96,7 +96,7 @@ private:
|
||||||
|
|
||||||
void Next()
|
void Next()
|
||||||
{
|
{
|
||||||
this->C = Input->get();
|
this->C = char(Input->get());
|
||||||
if (this->Input->bad()) ErrorExit("Unexpected end of file.");
|
if (this->Input->bad()) ErrorExit("Unexpected end of file.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue