diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-09-27 19:01:05 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-09-27 19:01:05 +0000 |
commit | 54defd6da6b4af79a5932322c4cbce29819b223c (patch) | |
tree | 9a3ae8687b9158b1f5863432bc5da640a6ca9615 /src | |
parent | 418cf92f63c65a32d43852d27d5c6d7a630a8ea8 (diff) | |
download | file-git-54defd6da6b4af79a5932322c4cbce29819b223c.tar.gz |
PR/383: delphij: %lc expects wint_t
Diffstat (limited to 'src')
-rw-r--r-- | src/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: file.c,v 1.207 2022/09/24 20:30:13 christos Exp $") +FILE_RCSID("@(#)$File: file.c,v 1.208 2022/09/27 19:01:05 christos Exp $") #endif /* lint */ #include "magic.h" @@ -593,7 +593,7 @@ fname_print(const char *inname) inname += bytesconsumed; n -= bytesconsumed; if (iswprint(nextchar)) { - printf("%lc", nextchar); + printf("%lc", (wint_t)nextchar); continue; } /* XXX: What if it is > 255? */ |