aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/InputStream.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx
index 25e99de3d..c62f71e45 100644
--- a/src/input/InputStream.hxx
+++ b/src/input/InputStream.hxx
@@ -249,7 +249,7 @@ public:
gcc_pure
offset_type GetRest() const {
assert(ready);
- assert(size >= 0);
+ assert(KnownSize());
assert(offset >= 0);
return size - offset;