mirror of
https://github.com/curl/curl.git
synced 2026-07-30 18:28:08 +03:00
long/int cleanup to silence picky compiler warnings
This commit is contained in:
parent
752acedc0b
commit
482b3ba702
3 changed files with 5 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue