diff --git a/src/core/graphicsbuffer.h b/src/core/graphicsbuffer.h index 38a57f7af3..bcd536d91a 100644 --- a/src/core/graphicsbuffer.h +++ b/src/core/graphicsbuffer.h @@ -24,8 +24,8 @@ struct DmaBufAttributes uint64_t modifier = 0; FileDescriptor fd[4]; - int offset[4] = {0, 0, 0, 0}; - int pitch[4] = {0, 0, 0, 0}; + uint32_t offset[4] = {0, 0, 0, 0}; + uint32_t pitch[4] = {0, 0, 0, 0}; }; struct ShmAttributes