aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/AsyncInputStream.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-18 09:47:23 +0200
committerMax Kellermann <max@duempel.org>2014-08-19 21:23:03 +0200
commit181edf4b5397ded0bb49b13a9df0a21b1806a695 (patch)
treeb12c1d5fe4d6616e23208ee22f46bbf3a4111e9c /src/input/AsyncInputStream.cxx
parentdfa53cb88e0e4a102eafb73d147c03f7a73c51c9 (diff)
downloadmpd-181edf4b5397ded0bb49b13a9df0a21b1806a695.tar.gz
mpd-181edf4b5397ded0bb49b13a9df0a21b1806a695.tar.xz
mpd-181edf4b5397ded0bb49b13a9df0a21b1806a695.zip
InputStream: make offset_type unsigned
Diffstat (limited to 'src/input/AsyncInputStream.cxx')
-rw-r--r--src/input/AsyncInputStream.cxx3
1 files changed, 0 insertions, 3 deletions
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) {