Skip to content

Commit

Permalink
Configure: Avoid printf format type mismatch
Browse files Browse the repository at this point in the history
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
  • Loading branch information
khwilliamson committed Dec 4, 2024
1 parent c9a9e95 commit b69c87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -22979,7 +22979,7 @@ else
#include <signal.h>
#include <stdio.h>
int main() {
printf("$xx %d\n", SIG${xx});
printf("$xx %ld\n", (long) SIG${xx});
return 0;
}
EOCP
Expand Down

0 comments on commit b69c87a

Please sign in to comment.