diff options
author | mike <mike@FreeBSD.org> | 2001-09-10 17:23:57 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2001-09-10 17:23:57 +0000 |
commit | fe5200b07e51db87385d59cae24b03ebb4c51aa3 (patch) | |
tree | 388ff9411e38d6d8ad2224bbd5e9dae1d3b2e100 /usr.bin/fetch | |
parent | 02f08354f6d9e09c4ad75524666c63b8f3504132 (diff) | |
download | FreeBSD-src-fe5200b07e51db87385d59cae24b03ebb4c51aa3.zip FreeBSD-src-fe5200b07e51db87385d59cae24b03ebb4c51aa3.tar.gz |
Add a cast to silence a warning (error because of WARNS=2) on Alpha.
Discussed with: des
Diffstat (limited to 'usr.bin/fetch')
-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) { |