diff options
Diffstat (limited to 'src/plugins/renderers/rhi/io/rhibuffer_p.h')
-rw-r--r-- | src/plugins/renderers/rhi/io/rhibuffer_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/renderers/rhi/io/rhibuffer_p.h b/src/plugins/renderers/rhi/io/rhibuffer_p.h index 7d4a3c54f..52023332b 100644 --- a/src/plugins/renderers/rhi/io/rhibuffer_p.h +++ b/src/plugins/renderers/rhi/io/rhibuffer_p.h @@ -87,7 +87,7 @@ public: QByteArray download(SubmissionContext *ctx, uint size); void cleanup(); - int size() const { return m_allocSize; } + qsizetype size() const { return m_allocSize; } QRhiBuffer *rhiBuffer() const noexcept { return m_rhiBuffer; } private: @@ -95,7 +95,7 @@ private: uint m_bufferId; bool m_dynamic; - int m_allocSize {}; + qsizetype m_allocSize {}; QRhiBuffer *m_rhiBuffer {}; |