vkr: fix some PRIu64 format prints

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
macos/master
Yiwei Zhang 3 years ago
parent 488c82568d
commit 9f4e730bcf
  1. 4
      src/venus/vkr_cs.h

@ -215,9 +215,9 @@ vkr_cs_decoder_lookup_object(const struct vkr_cs_decoder *dec,
obj = likely(entry) ? entry->data : NULL;
if (unlikely(!obj || obj->type != type)) {
if (obj)
vkr_log("object " PRIu64 " has type %d, not %d", id, obj->type, type);
vkr_log("object %" PRIu64 " has type %d, not %d", id, obj->type, type);
else
vkr_log("failed to look up object " PRIu64, id);
vkr_log("failed to look up object %" PRIu64, id);
vkr_cs_decoder_set_fatal(dec);
}

Loading…
Cancel
Save