fixed build warnings

This commit is contained in:
Arvid Norberg
2011-02-14 01:59:01 +00:00
parent 8bb71da401
commit 5864a883e6
10 changed files with 23 additions and 19 deletions

View File

@@ -464,6 +464,9 @@ namespace libtorrent
line_len += 2;
}
break;
case lazy_entry::none_t:
line_len += 4;
break;
}
if (line_len > limit) return -1;