Skip to content

Commit 70e5820

Browse files
1a1a11aCopilot
andauthored
Update libCacheSim/cache/eviction/LIRS.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 539d6aa commit 70e5820

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • libCacheSim/cache/eviction

libCacheSim/cache/eviction/LIRS.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ static void LIRS_print_cache(cache_t *cache) {
711711
(unsigned long)params->hirs_count);
712712
cache_obj_t *obj = ((LRU_params_t *)params->LRU_s->eviction_params)->q_head;
713713
while (obj) {
714-
printf("%ld(%" PRId64 ", %s, %s)->", (long)obj->obj_id, obj->obj_size,
714+
printf("%" PRId64 "(%" PRId64 ", %s, %s)->", obj->obj_id, obj->obj_size,
715715
obj->LIRS.in_cache ? "R" : "N", obj->LIRS.is_LIR ? "L" : "H");
716716
obj = obj->queue.next;
717717
}

0 commit comments

Comments
 (0)