More Windows updates

This commit is contained in:
Bob Perper 2018-03-30 14:53:05 -04:00
parent ab5c8df273
commit 14931b3a86
2 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ add_executable(http_client
test/prog.c
test/test_common.c
)
#target_link_libraries(http_client lsquic event pthread libssl.a libcrypto.a ${FIULIB} z m)
target_link_libraries(http_client lsquic event pthread libssl.a libcrypto.a ${FIULIB} z m)
#MSVC
ELSE()
@ -149,7 +149,7 @@ target_link_libraries(http_client
ENDIF()
target_link_libraries(http_client lsquic event pthread libssl.a libcrypto.a ${FIULIB} z m)
#target_link_libraries(http_client lsquic event pthread libssl.a libcrypto.a ${FIULIB} z m)
add_subdirectory(src)

View file

@ -102,7 +102,7 @@ lsquic_rechist_stop_wait (lsquic_rechist_t *rechist, lsquic_packno_t cutoff)
}
else
{
rechist->rh_n_packets -= cutoff - pi->range.low;
rechist->rh_n_packets -= (unsigned)(cutoff - pi->range.low);
pi->range.low = cutoff;
}
}