proptest: print signed values correctly
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>main
parent
dfd8cd4611
commit
ea78c17854
|
@ -151,6 +151,8 @@ dump_prop(uint32_t prop_id, uint64_t value)
|
||||||
printf("\t\tvalue:");
|
printf("\t\tvalue:");
|
||||||
if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
|
if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
|
||||||
dump_blob(value);
|
dump_blob(value);
|
||||||
|
else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE))
|
||||||
|
printf(" %"PRId64"\n", value);
|
||||||
else
|
else
|
||||||
printf(" %"PRIu64"\n", value);
|
printf(" %"PRIu64"\n", value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue