Browse Source

Fix warning in Linux crash handler on 32-bit

Rémi Verschelde 5 years ago
parent
commit
3f8c93dffe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/x11/crash_handler_x11.cpp

+ 1 - 1
platform/x11/crash_handler_x11.cpp

@@ -107,7 +107,7 @@ static void handle_crash(int sig) {
 				output.erase(output.length() - 1, 1);
 			}
 
-			fprintf(stderr, "[%ld] %s (%ls)\n", i, fname, output.c_str());
+			fprintf(stderr, "[%ld] %s (%ls)\n", (long int)i, fname, output.c_str());
 		}
 
 		free(strings);