[Mesa-dev] [PATCH kmscube 3/7] drm-atomic.c: fix signed comparison
Eric Engestrom
eric.engestrom at imgtec.com
Tue Mar 14 13:33:53 UTC 2017
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
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
More information about the mesa-dev
mailing list