summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2016-10-26 12:23:32 -0700
committerBen Widawsky <[email protected]>2017-01-23 21:43:38 -0800
commite63ab36d0e13ce41d37734ac5c02bc80a3141021 (patch)
tree62d6999cfb4bc9fe3b46a7317e40bd31b29d8e5f
parentbb9ff98b4c3fb9e090168bddd6e476e7f24831f8 (diff)
gbm: Fix width height getters return type (trivial)
v2: Other way round... to make consistent, make both return type have the fixed width - uint32_t. Cc: Daniel Stone <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Acked-by: Daniel Stone <[email protected]>
-rw-r--r--src/gbm/main/gbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 00113faab87..e96297ec52e 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -137,7 +137,7 @@ gbm_create_device(int fd)
* \return The width of the allocated buffer object
*
*/
-GBM_EXPORT unsigned int
+GBM_EXPORT uint32_t
gbm_bo_get_width(struct gbm_bo *bo)
{
return bo->width;
@@ -148,7 +148,7 @@ gbm_bo_get_width(struct gbm_bo *bo)
* \param bo The buffer object
* \return The height of the allocated buffer object
*/
-GBM_EXPORT unsigned int
+GBM_EXPORT uint32_t
gbm_bo_get_height(struct gbm_bo *bo)
{
return bo->height;