summaryrefslogtreecommitdiff
path: root/tests/proptest/proptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/proptest/proptest.c')
-rw-r--r--tests/proptest/proptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proptest/proptest.c b/tests/proptest/proptest.c
index 0ab0907d..88bed10b 100644
--- a/tests/proptest/proptest.c
+++ b/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:");