summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2020-03-23 14:13:48 +0000
committerFrediano Ziglio <fziglio@redhat.com>2020-03-23 14:13:48 +0000
commit57266085b9d68474f4006e09dece5945e5f8cc82 (patch)
tree875f0860b0f8f4e28d5cdedda2a8b2ad93076070
parent8e4037706841a89915ccb0db84e4b336433027eb (diff)
try to remove other bugs
-rw-r--r--vdagent/imagepng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdagent/imagepng.cpp b/vdagent/imagepng.cpp
index a0d4cdd..1cc8ec6 100644
--- a/vdagent/imagepng.cpp
+++ b/vdagent/imagepng.cpp
@@ -36,7 +36,7 @@ private:
struct ReadBufferIo {
const uint8_t *buf;
- uint32_t pos, size;
+ size_t pos, size;
ReadBufferIo(const uint8_t *_buf, uint32_t _size):
buf(_buf), pos(0), size(_size)
{}