diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 20:51:19 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 20:51:19 +0200 |
| commit | 0debc51974d01fe86f11401a6da4d9c440ca2e69 (patch) | |
| tree | d58422a2097ea1d968e4028c031d61cb5c1de529 | |
| parent | c5fe5327f93355f409a3f8c8e27c3f12ea856559 (diff) | |
Fix compilation on 32bit
| -rw-r--r-- | src/monitor-gui.cc | 2 |
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)); |
