+2005-11-01 Dan Winship <danw@novell.com>
+
+ * libsoup/soup-connection.c (set_current_request,
+ clear_current_request): Cast the argument to
+ g_object_add/remove_weak_pointer to the wrong type, to make gcc
+ 4.1 happy, because C is stupid and "void **" means "a pointer to a
+ void *", not "a pointer to any kind of pointer".
+
+ * libsoup/soup-xmlrpc-response.c
+ (soup_xmlrpc_value_dump_internal): fix gccism. #320349, from
+ Roland Illig.
+
2005-10-27 Dan Winship <danw@novell.com>
* libsoup/soup-socket.c (soup_socket_client_new_async,
req->status = SOUP_MESSAGE_STATUS_RUNNING;
priv->cur_req = req;
priv->in_use = TRUE;
- g_object_add_weak_pointer (G_OBJECT (req), (gpointer *)&priv->cur_req);
+ g_object_add_weak_pointer (G_OBJECT (req), (gpointer)&priv->cur_req);
}
static void
SoupMessage *cur_req = priv->cur_req;
g_object_remove_weak_pointer (G_OBJECT (priv->cur_req),
- (gpointer *)&priv->cur_req);
+ (gpointer)&priv->cur_req);
priv->cur_req = NULL;
if (!soup_message_is_keepalive (cur_req))
if (!soup_xmlrpc_value_array_get_iterator (value, &iter))
g_printerr ("BAD ARRAY\n");
else {
- g_printerr ("ARRAY\n");
SoupXmlrpcValue *evalue;
int i = 0;
+ g_printerr ("ARRAY\n");
while (iter != NULL) {
soup_xmlrpc_value_array_iterator_get_value (iter, &evalue);
soup_xmlrpc_value_dump_array_element (i, evalue, GINT_TO_POINTER (d+1));