Commit 4268e3d7 authored by Brad King's avatar Brad King

run_compile_commands: Cast istream::get() result to char

We perform error checking on the stream after reading so this conversion
is safe.
parent c45c60b2
......@@ -96,7 +96,7 @@ private:
void Next()
{
this->C = Input->get();
this->C = char(Input->get());
if (this->Input->bad()) ErrorExit("Unexpected end of file.");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment