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>
This commit is contained in:
@@ -196,7 +196,7 @@ struct drm_framebuffer {
|
||||
struct drm_property_blob {
|
||||
struct drm_mode_object base;
|
||||
struct list_head head;
|
||||
unsigned int length;
|
||||
size_t length;
|
||||
unsigned char data[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user