*** empty log message ***

This commit is contained in:
Magnus Jonsson
2004-01-25 22:41:55 +00:00
parent 726a8b57b6
commit 23288c74f5
12 changed files with 79 additions and 20 deletions

View File

@@ -185,7 +185,8 @@ namespace libtorrent
void seek(size_type pos, seek_mode from_where)
{
assert(pos >= 0);
assert(pos >= 0 || from_where != seek_begin);
assert(pos <= 0 || from_where != seek_end);
LARGE_INTEGER offs;
offs.QuadPart = pos;
if (FALSE == SetFilePointerEx(