--- a/tools/build/src/engine/debugger.c +++ b/tools/build/src/engine/debugger.c @@ -978,7 +983,7 @@ /* Waits for events from the child. */ static void debug_parent_wait( int print_message ) { - char ch = fgetc( command_child ); + int ch = fgetc( command_child ); if ( ch == DEBUG_MSG_BREAKPOINT ) { debug_parent_on_breakpoint();