diff options
| author | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-06-07 09:37:30 +0000 |
|---|---|---|
| committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-06-07 09:37:30 +0000 |
| commit | d605a06c6e4c11156e534c0ca3c62e54082c0b92 (patch) | |
| tree | 6aa9da2c382828d4c1874de596a47ed4115dc3c7 /bin/ln | |
| parent | 7e44e88a848da63a537a94b58cc526abbad12cd8 (diff) | |
Notes
Diffstat (limited to 'bin/ln')
| -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 45a7cb3d6e9d..1908c1624b3a 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); } |
