diff options
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multi.c b/lib/multi.c index c3463b0ce..92bf28151 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -82,7 +82,7 @@ typedef enum { struct socketstate { curl_socket_t socks[MAX_SOCKSPEREASYHANDLE]; - long action; /* socket action bitmap */ + unsigned int action; /* socket action bitmap */ }; struct Curl_one_easy { @@ -185,7 +185,7 @@ struct Curl_sh_entry { /* bits for 'action' having no bits means this socket is not expecting any action */ #define SH_READ 1 -#define SG_WRITE 2 +#define SH_WRITE 2 /* make sure this socket is present in the hash for this handle */ static int sh_addentry(struct curl_hash *sh, |