diff options
author | Thierry Reding <treding@nvidia.com> | 2014-05-13 05:36:13 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 04:43:48 -0500 |
commit | ecbbe59bbb1cd2973e031c5b6ba28653d66a17de (patch) | |
tree | 7db9f365a3e6c370e43b94a009d8fb75622bc71a /include/drm | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
drm: Use size_t for blob property sizes
size_t is the standard type when dealing with sizes of all kinds. Use it
consistently when instantiating DRM blob properties.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index c40070a92d6b..628369c08503 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -196,7 +196,7 @@ struct drm_framebuffer { | |||
196 | struct drm_property_blob { | 196 | struct drm_property_blob { |
197 | struct drm_mode_object base; | 197 | struct drm_mode_object base; |
198 | struct list_head head; | 198 | struct list_head head; |
199 | unsigned int length; | 199 | size_t length; |
200 | unsigned char data[]; | 200 | unsigned char data[]; |
201 | }; | 201 | }; |
202 | 202 | ||