summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/memdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/memdebug.h')
-rw-r--r--libs/libcurl/src/memdebug.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/libcurl/src/memdebug.h b/libs/libcurl/src/memdebug.h
index c3c81bad2c..23f378643e 100644
--- a/libs/libcurl/src/memdebug.h
+++ b/libs/libcurl/src/memdebug.h
@@ -137,13 +137,14 @@ CURL_EXTERN int curl_dbg_fclose(FILE *file, int line, const char *source);
#undef socket
#define socket(domain,type,protocol)\
- curl_dbg_socket(domain, type, protocol, __LINE__, __FILE__)
+ curl_dbg_socket((int)domain, type, protocol, __LINE__, __FILE__)
#undef accept /* for those with accept as a macro */
#define accept(sock,addr,len)\
curl_dbg_accept(sock, addr, len, __LINE__, __FILE__)
#ifdef HAVE_SOCKETPAIR
#define socketpair(domain,type,protocol,socket_vector)\
- curl_dbg_socketpair(domain, type, protocol, socket_vector, __LINE__, __FILE__)
+ curl_dbg_socketpair((int)domain, type, protocol, socket_vector, \
+ __LINE__, __FILE__)
#endif
#ifdef HAVE_GETADDRINFO