diff --git a/ChangeLog b/ChangeLog index 464d2bede..735f4b30a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ + * fixed typo in win vista specific code, breaking the build * change default of rate_limit_utp to true * fixed DLL export issue on windows (when building a shared library linking statically against boost) * fixed FreeBSD build diff --git a/src/file_pool.cpp b/src/file_pool.cpp index 3f43515aa..44f434730 100644 --- a/src/file_pool.cpp +++ b/src/file_pool.cpp @@ -162,7 +162,7 @@ namespace libtorrent FILE_IO_PRIORITY_HINT_INFO priorityHint; priorityHint.PriorityHint = IoPriorityHintLow; SetFileInformationByHandle(e.file_ptr->native_handle(), - FileIoPriorityHintInfo, &priorityHint, sizeof(PriorityHint)); + FileIoPriorityHintInfo, &priorityHint, sizeof(priorityHint)); } #endif #endif