mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 12:50:11 +01:00
tests/modeprint: fix argument type
Replaced the type PRId64 with PRIu64 in a printf as the argument was unsigned to fix the related compiler warning. Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com> Reviewed-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
4caec56fb8
commit
ae6d81da20
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ static int printProperty(int fd, drmModeResPtr res, drmModePropertyPtr props, ui
|
|||
|
||||
} else {
|
||||
for (j = 0; j < props->count_enums; j++) {
|
||||
printf("\t\t%" PRId64" = %s\n", (uint64_t)props->enums[j].value, props->enums[j].name);
|
||||
printf("\t\t%" PRIu64" = %s\n", (uint64_t)props->enums[j].value, props->enums[j].name);
|
||||
if (props->enums[j].value == value)
|
||||
name = props->enums[j].name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue