From 487138ebcbcdd7d9b32c443053498aeac844820f Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 14 Feb 2014 12:10:19 -0200 Subject: [PATCH] fix from upstream --- libtorrent/src/disk_io_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtorrent/src/disk_io_thread.cpp b/libtorrent/src/disk_io_thread.cpp index 673d807f..59eeac9e 100644 --- a/libtorrent/src/disk_io_thread.cpp +++ b/libtorrent/src/disk_io_thread.cpp @@ -1772,7 +1772,7 @@ namespace libtorrent #endif TORRENT_ASSERT(j.buffer); session_settings const* s = ((session_settings*)j.buffer); - TORRENT_ASSERT(s->cache_size >= 0); + TORRENT_ASSERT(s->cache_size >= -1); TORRENT_ASSERT(s->cache_expiry > 0); #if defined TORRENT_WINDOWS