Skip to content

Commit 97464bf

Browse files
committed
fix: use PRIu64 for obj_id_t format specifier
1 parent 4ead31e commit 97464bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libCacheSim/cache/eviction/Clock2QPlus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ static void Clock2QPlus_evict_main(cache_t *cache, const request_t *req) {
378378
} else {
379379
bool removed = main->remove(main, obj_to_evict->obj_id);
380380
if (!removed) {
381-
ERROR("cannot remove obj %ld\n", obj_to_evict->obj_id);
381+
ERROR("cannot remove obj %" PRIu64 "\n", obj_to_evict->obj_id);
382382
}
383383

384384
has_evicted = true;

0 commit comments

Comments
 (0)