Signed-off-by: Eric Engestrom <[email protected]>
---
drm-atomic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drm-atomic.c b/drm-atomic.c
index 3362eac..01fa35a 100644
--- a/drm-atomic.c
+++ b/drm-atomic.c
@@ -362,7 +362,7 @@ const struct drm * init_drm_atomic(const char *device)
get_resource(connector, Connector, drm.connector_id);
#define get_properties(type, TYPE, id) do {
\
- int i;
\
+ uint32_t i;
\
drm.type->props = drmModeObjectGetProperties(drm.fd, \
id, DRM_MODE_OBJECT_##TYPE);
\
if (!drm.type->props) {
\
--
Cheers,
Eric
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev