mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
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()
|
||||
{
|
||||
this->C = Input->get();
|
||||
this->C = char(Input->get());
|
||||
if (this->Input->bad()) ErrorExit("Unexpected end of file.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user