diff options
Diffstat (limited to 'usr.bin/fetch/fetch.c')
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 3d8c22e..5b321cd 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -468,7 +468,7 @@ fetch(char *URL, const char *path) else ++slash; asprintf(&tmppath, "%.*s.fetch.XXXXXX.%s", - slash - path, path, slash); + (int)(slash - path), path, slash); } if (tmppath != NULL) { |