Fix warning: field precision should have type 'int', but argument 4 has type 'long int'.

svn path=/trunk/netsurf/; revision=3262
This commit is contained in:
James Bursa 2007-05-02 03:06:52 +00:00
parent 21407fe8ab
commit d0db5ed413

View File

@ -1123,7 +1123,8 @@ void urldb_iterate_partial(const char *prefix,
* assume that we're looking for a path */ * assume that we're looking for a path */
char *domain = host; char *domain = host;
snprintf(host, sizeof host, "%.*s", slash - prefix, prefix); snprintf(host, sizeof host, "%.*s",
(int) (slash - prefix), prefix);
h = urldb_search_find(tree, host); h = urldb_search_find(tree, host);
if (!h) { if (!h) {