diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-10 14:48:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 14:48:55 +0100 |
commit | 840c60a1eaaa210accd0ed44383942f525920cca (patch) | |
tree | 8978f07daeedb40e58690b65552bf51eb3a2d4e8 | |
parent | 673f4fabd8ae4bdacb3064be4a5cf3ccaecd428d (diff) | |
parent | 3f8c93dffe056818a5a5fb106ee952792ab3ef50 (diff) |
Merge pull request #34989 from akien-mga/warning-crash-handler-x11-32
Fix warning in Linux crash handler on 32-bit
-rw-r--r-- | platform/x11/crash_handler_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/crash_handler_x11.cpp b/platform/x11/crash_handler_x11.cpp index 3a91c62546..19c8f71d0e 100644 --- a/platform/x11/crash_handler_x11.cpp +++ b/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); |