aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/fix-fgetc-define.patch
blob: 5922da1204e89555c8a7c9f63b9ab1fd40f9cbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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();