Skip to content

Commit b69c87a

Browse files
committed
Configure: Avoid printf format type mismatch
Sometimes the value being printed is a long; sometimes not. In order to get it to always work properly, cast to a long and use %ld
1 parent c9a9e95 commit b69c87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22979,7 +22979,7 @@ else
2297922979
#include <signal.h>
2298022980
#include <stdio.h>
2298122981
int main() {
22982-
printf("$xx %d\n", SIG${xx});
22982+
printf("$xx %ld\n", (long) SIG${xx});
2298322983
return 0;
2298422984
}
2298522985
EOCP

0 commit comments

Comments
 (0)