Add a cast to silence a warning (error because of WARNS=2) on Alpha.

Discussed with:	des
This commit is contained in:
mike 2001-09-10 17:23:57 +00:00
parent 02f08354f6
commit fe5200b07e

View File

@ -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) {