summaryrefslogtreecommitdiff
path: root/content/hlcache.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2023-06-17 11:20:09 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2023-06-17 11:20:09 +0100
commitc987b043b1fb4c5a25594e822c16787906b09fc8 (patch)
tree2c8435a031116fc7f536e4e82ad7a9bace827b9a /content/hlcache.c
parenta16d5ff10b2225c7cf7b33ddfff1d947b0dbe40a (diff)
downloadnetsurf-c987b043b1fb4c5a25594e822c16787906b09fc8.tar.gz
netsurf-c987b043b1fb4c5a25594e822c16787906b09fc8.tar.bz2
Clean up print format specifier usage
Diffstat (limited to 'content/hlcache.c')
-rw-r--r--content/hlcache.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/content/hlcache.c b/content/hlcache.c
index 59ed17e4d..5cba88bc6 100644
--- a/content/hlcache.c
+++ b/content/hlcache.c
@@ -593,7 +593,7 @@ void hlcache_finalise(void)
num_contents++;
}
- NSLOG(netsurf, INFO, "%"PRId32" contents remain before cache drain",
+ NSLOG(netsurf, INFO, "%"PRIu32" contents remain before cache drain",
num_contents);
/* Drain cache */
@@ -608,7 +608,8 @@ void hlcache_finalise(void)
}
} while (num_contents > 0 && num_contents != prev_contents);
- NSLOG(netsurf, INFO, "%"PRId32" contents remaining after being polite", num_contents);
+ NSLOG(netsurf, INFO, "%"PRIu32" contents remaining after being polite",
+ num_contents);
/* Drain cache again, forcing the matter */
do {
@@ -622,12 +623,12 @@ void hlcache_finalise(void)
}
} while (num_contents > 0 && num_contents != prev_contents);
- NSLOG(netsurf, INFO, "%"PRId32" contents remaining:", num_contents);
+ NSLOG(netsurf, INFO, "%"PRIu32" contents remaining:", num_contents);
for (entry = hlcache->content_list; entry != NULL; entry = entry->next) {
hlcache_handle entry_handle = { entry, NULL, NULL };
if (entry->content != NULL) {
- NSLOG(netsurf, INFO, " %p : %s (%"PRId32" users)",
+ NSLOG(netsurf, INFO, " %p : %s (%"PRIu32" users)",
entry,
nsurl_access(hlcache_handle_get_url(&entry_handle)),
content_count_users(entry->content));