diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ln/ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/ln.c b/bin/ln/ln.c index 45a7cb3..1908c16 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -233,7 +233,7 @@ linkit(const char *source, const char *target, int isdir) else p = target; (void)snprintf(wbuf, sizeof(wbuf), "%.*s%s", - (p - target), target, source); + (int)(p - target), target, source); if (stat(wbuf, &sb) != 0) warn("warning: %s", source); } |