diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 22:31:46 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 15:49:29 +0300 |
commit | 549045254c4614d5d61b5c36e340171a6914d57c (patch) | |
tree | 0d2d80d1ca0c3de65f45da198e8ab09921da7fe4 /libavutil/log.c | |
parent | 1473afac5d11a0a90810b6cd8107d63640c9fd38 (diff) |
Fix all -Wformat warnings raised by DJGPP
Diffstat (limited to 'libavutil/log.c')
-rw-r--r-- | libavutil/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavutil/log.c b/libavutil/log.c index 44c11cb091..be806202ff 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -168,19 +168,19 @@ static void colored_fputs(int level, int tint, const char *str) #else if (local_use_color == 1) { fprintf(stderr, - "\033[%d;3%dm%s\033[0m", + "\033[%"PRIu32";3%"PRIu32"m%s\033[0m", (color[level] >> 4) & 15, color[level] & 15, str); } else if (tint && use_color == 256) { fprintf(stderr, - "\033[48;5;%dm\033[38;5;%dm%s\033[0m", + "\033[48;5;%"PRIu32"m\033[38;5;%dm%s\033[0m", (color[level] >> 16) & 0xff, tint, str); } else if (local_use_color == 256) { fprintf(stderr, - "\033[48;5;%dm\033[38;5;%dm%s\033[0m", + "\033[48;5;%"PRIu32"m\033[38;5;%"PRIu32"m%s\033[0m", (color[level] >> 16) & 0xff, (color[level] >> 8) & 0xff, str); |