Skip to content

Commit 60b9a72

Browse files
committed
fix freeBSD failure
1 parent ee64b1c commit 60b9a72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CommandLine.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ int CommandLine_run(int argc, char** argv) {
420420
CRT_done();
421421

422422
if (terminate_requested) {
423-
fprintf(stderr, "\nInterrupted by signal %d, terminating.\n", terminate_signal);
424-
exit(128 + terminate_signal);
423+
fprintf(stderr, "\nInterrupted by signal %ld, terminating.\n", (long)terminate_signal);
424+
exit(128 + (int)terminate_signal);
425425
}
426426

427427
if (settings->changed) {

0 commit comments

Comments
 (0)