summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/unifdef/unifdef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c
index c17a196..426ed49 100644
--- a/usr.bin/unifdef/unifdef.c
+++ b/usr.bin/unifdef/unifdef.c
@@ -791,7 +791,7 @@ findsym(const char *str)
if (cp == str)
return -1;
if (symlist)
- printf("%.*s\n", cp-str, str);
+ printf("%.*s\n", (int)(cp-str), str);
for (symind = 0; symind < nsyms; ++symind) {
if (strlcmp(symname[symind], str, cp-str) == 0) {
debug("findsym %s %s", symname[symind],
OpenPOWER on IntegriCloud