summaryrefslogtreecommitdiff
path: root/lib/libdrm/tests/proptest/proptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/tests/proptest/proptest.c')
-rw-r--r--lib/libdrm/tests/proptest/proptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdrm/tests/proptest/proptest.c b/lib/libdrm/tests/proptest/proptest.c
index 0ab0907dd..88bed10b2 100644
--- a/lib/libdrm/tests/proptest/proptest.c
+++ b/lib/libdrm/tests/proptest/proptest.c
@@ -127,7 +127,7 @@ dump_prop(uint32_t prop_id, uint64_t value)
printf("\t\tenums:");
for (i = 0; i < prop->count_enums; i++)
printf(" %s=%"PRIu64, prop->enums[i].name,
- prop->enums[i].value);
+ (uint64_t)prop->enums[i].value);
printf("\n");
} else if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) {
printf("\t\tvalues:");