Mesa (master): gbm: Fix width height getters return type (trivial)
Ben Widawsky
bwidawsk at kemper.freedesktop.org
Tue Jan 24 05:58:56 UTC 2017
Module: Mesa
Branch: master
Commit: e63ab36d0e13ce41d37734ac5c02bc80a3141021
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e63ab36d0e13ce41d37734ac5c02bc80a3141021
Author: Ben Widawsky <ben at bwidawsk.net>
Date: Wed Oct 26 12:23:32 2016 -0700
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 <daniel at fooishbar.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
Acked-by: Daniel Stone <daniels at collabora.com>
---
src/gbm/main/gbm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 00113fa..e96297e 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;
More information about the mesa-commit
mailing list