diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-05-08 19:59:46 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-05-08 19:59:46 +0200 |
commit | 141ed8ca09e0650879d2333ecce19ff1b339b895 (patch) | |
tree | 1bea5ea4850129bb17a03203023d4e747ca6399e /tests/libtest/lib582.c | |
parent | 78007305203140162f567fd611182cfc41ac51dd (diff) |
libtest: fix MinGW-w64 warnings
long is 32 bits while size_t is 64 bits on MinGW-w64, so
typecheck-gcc.h complains when using size_t for a long option.
Also, curl_socket_t is unsigned long long rather than int.
Diffstat (limited to 'tests/libtest/lib582.c')
-rw-r--r-- | tests/libtest/lib582.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib582.c b/tests/libtest/lib582.c index eec0455f6..1eb9b02d5 100644 --- a/tests/libtest/lib582.c +++ b/tests/libtest/lib582.c @@ -320,7 +320,7 @@ int test(char *URL) tv.tv_usec = 100000; } - select_test(maxFd, &readSet, &writeSet, NULL, &tv); + select_test((int)maxFd, &readSet, &writeSet, NULL, &tv); /* Check the sockets for reading / writing */ checkFdSet(m, &sockets.read, &readSet, CURL_CSELECT_IN, "read"); |