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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 19dc5db901a..79d78b763e6 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -203,7 +203,7 @@ gbm_bo_get_format(struct gbm_bo *bo)
* \param bo The buffer object
* \return The offset
*/
-GBM_EXPORT int64_t
+GBM_EXPORT uint32_t
gbm_bo_get_offset(struct gbm_bo *bo, int plane)
{
return bo->gbm->bo_get_offset(bo, plane);