diff options
Diffstat (limited to 'src')
| -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)); |
