mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
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:
parent
21407fe8ab
commit
d0db5ed413
@ -1123,7 +1123,8 @@ void urldb_iterate_partial(const char *prefix,
|
||||
* assume that we're looking for a path */
|
||||
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);
|
||||
if (!h) {
|
||||
|
Loading…
Reference in New Issue
Block a user