summaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gbm/main/gbm.c')
-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;