long/int cleanup to silence picky compiler warnings

This commit is contained in:
Daniel Stenberg
2006-05-26 11:26:42 +00:00
parent 752acedc0b
commit 482b3ba702
3 changed files with 5 additions and 4 deletions

View File

@@ -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,