window build fix
This commit is contained in:
parent
ad5b0497c3
commit
8b4ce8deaa
|
@ -1449,7 +1449,7 @@ namespace libtorrent
|
||||||
#ifdef TORRENT_WINDOWS
|
#ifdef TORRENT_WINDOWS
|
||||||
LARGE_INTEGER offs;
|
LARGE_INTEGER offs;
|
||||||
LARGE_INTEGER cur_size;
|
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());
|
ec.assign(GetLastError(), get_system_category());
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue