diff options
Diffstat (limited to 'pith/conf.c')
-rw-r--r-- | pith/conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/conf.c b/pith/conf.c index 40fdbcdb..4b2dc384 100644 --- a/pith/conf.c +++ b/pith/conf.c @@ -7630,7 +7630,7 @@ panic1(char *message, char *arg) #define SIZEOFBUF 1001 char buf1[SIZEOFBUF], buf2[SIZEOFBUF]; - snprintf(buf1, sizeof(buf1), "%.*s", MAX(SIZEOFBUF - 1 - strlen(message), 0), arg); + snprintf(buf1, sizeof(buf1), "%.*s", (int) MAX(SIZEOFBUF - 1 - strlen(message), 0), arg); snprintf(buf2, sizeof(buf2), message, buf1); alpine_panic(buf2); } |