window build fix

This commit is contained in:
Arvid Norberg 2010-03-06 22:47:25 +00:00
parent ad5b0497c3
commit 8b4ce8deaa
1 changed files with 1 additions and 1 deletions

View File

@ -1449,7 +1449,7 @@ namespace libtorrent
#ifdef TORRENT_WINDOWS
LARGE_INTEGER offs;
LARGE_INTEGER cur_size;
if (GetFileSizeEx(m_file_handle, cur_size) == FALSE)
if (GetFileSizeEx(m_file_handle, &cur_size) == FALSE)
{
ec.assign(GetLastError(), get_system_category());
return false;