Fix warning in Linux crash handler on 32-bit

This commit is contained in:
Rémi Verschelde 2020-01-10 14:28:21 +01:00
parent 25c024acfd
commit 3f8c93dffe

View file

@ -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);