From 181edf4b5397ded0bb49b13a9df0a21b1806a695 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 18 Aug 2014 09:47:23 +0200 Subject: InputStream: make offset_type unsigned --- src/input/AsyncInputStream.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/input/AsyncInputStream.cxx') diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx index 8942b5116..d34ba2ff3 100644 --- a/src/input/AsyncInputStream.cxx +++ b/src/input/AsyncInputStream.cxx @@ -116,9 +116,6 @@ AsyncInputStream::Seek(offset_type new_offset, Error &error) if (!IsSeekable()) return false; - if (new_offset < 0) - return false; - /* check if we can fast-forward the buffer */ while (new_offset > offset) { -- cgit v1.2.3