summaryrefslogtreecommitdiff
path: root/src/monitor-gui.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-07-29 20:51:19 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-07-29 20:51:19 +0200
commit0debc51974d01fe86f11401a6da4d9c440ca2e69 (patch)
treed58422a2097ea1d968e4028c031d61cb5c1de529 /src/monitor-gui.cc
parentc5fe5327f93355f409a3f8c8e27c3f12ea856559 (diff)
Fix compilation on 32bit
Diffstat (limited to 'src/monitor-gui.cc')
-rw-r--r--src/monitor-gui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor-gui.cc b/src/monitor-gui.cc
index 52aadfa..1c3bb3f 100644
--- a/src/monitor-gui.cc
+++ b/src/monitor-gui.cc
@@ -1368,7 +1368,7 @@ private:
good = false;
in.read(reinterpret_cast<char*>(header), 8);
if (!in.good()) break;
- auto size = read_u64(header);
+ size_t size = read_u64(header);
if (size == 0) break;
uint8_t buf[8192];
size_t avail = std::min(size, sizeof(buf));