aboutsummaryrefslogtreecommitdiff
path: root/src/IO
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-07-15 09:56:19 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-07-15 09:56:19 -0400
commit5b311cb1ef29825290273ede14c7e90839b80985 (patch)
treec162cd6de7bc27fec12e3242c33022f07a7dd8c0 /src/IO
parent5f46adec1f6ecab7b68f3a71efbd7abe60ca917e (diff)
Eliminated a pack of compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'src/IO')
-rw-r--r--src/IO/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 77a1be43..526b8460 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -174,7 +174,7 @@ static void Http_connect_queued_sockets(HostConnection_t *hc)
MSG_BW(sd->web, 1, "ERROR: %s", dStrerror(sd->Err));
a_Chain_bfcb(OpAbort, sd->Info, NULL, "Both");
dFree(sd->Info);
- Http_socket_free((int) sd->Info->LocalKey);
+ Http_socket_free(VOIDP2INT(sd->Info->LocalKey));
} else {
sd->connected_to = hc->host;
hc->active_connections++;
@@ -365,7 +365,7 @@ static void Http_send_query(ChainLink *Info, SocketData_t *S)
DataBuf *dbuf;
/* Create the query */
- query = a_Http_make_query_str(S->web->url, S->flags & HTTP_SOCKET_USE_PROXY);
+ query = a_Http_make_query_str(S->web->url,S->flags & HTTP_SOCKET_USE_PROXY);
dbuf = a_Chain_dbuf_new(query->str, query->len, 0);
/* actually this message is sent too early.