mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 20:59:07 +02:00
proptest: print signed values correctly
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
dfd8cd4611
commit
ea78c17854
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ dump_prop(uint32_t prop_id, uint64_t value)
|
|||
printf("\t\tvalue:");
|
||||
if (drm_property_type_is(prop, DRM_MODE_PROP_BLOB))
|
||||
dump_blob(value);
|
||||
else if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE))
|
||||
printf(" %"PRId64"\n", value);
|
||||
else
|
||||
printf(" %"PRIu64"\n", value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue