summaryrefslogtreecommitdiff
path: root/rest
diff options
context:
space:
mode:
Diffstat (limited to 'rest')
-rw-r--r--rest/rest-proxy.c8
-rw-r--r--rest/rest-proxy.h4
-rw-r--r--rest/rest-xml-parser.c2
-rw-r--r--rest/rest-xml-parser.h2
4 files changed, 8 insertions, 8 deletions
diff --git a/rest/rest-proxy.c b/rest/rest-proxy.c
index b23bd07..39c68da 100644
--- a/rest/rest-proxy.c
+++ b/rest/rest-proxy.c
@@ -405,7 +405,7 @@ typedef struct
gchar **response_message;
GHashTable **headers;
gchar **payload;
- gssize *len;
+ goffset *len;
} RestProxyRunRawClosure;
static void
@@ -414,7 +414,7 @@ _call_raw_async_for_run_raw_cb (RestProxy *proxy,
const gchar *response_message,
GHashTable *headers,
const gchar *payload,
- gssize len,
+ goffset len,
GObject *weak_object,
gpointer userdata)
{
@@ -448,7 +448,7 @@ rest_proxy_run_raw (RestProxy *proxy,
gchar **response_message,
GHashTable **headers,
gchar **payload,
- gssize *len,
+ goffset *len,
GError **error,
const gchar *first_field_name,
...)
@@ -499,7 +499,7 @@ _call_raw_async_for_json_async_cb (RestProxy *proxy,
const gchar *response_message,
GHashTable *headers,
const gchar *payload,
- gssize len,
+ goffset len,
GObject *weak_object,
gpointer userdata)
{
diff --git a/rest/rest-proxy.h b/rest/rest-proxy.h
index af9278b..451dca2 100644
--- a/rest/rest-proxy.h
+++ b/rest/rest-proxy.h
@@ -37,7 +37,7 @@ typedef void (*RestProxyCallRawCallback)(RestProxy *proxy,
const gchar *response_message,
GHashTable *headers,
const gchar *payload,
- gssize len,
+ goffset len,
GObject *weak_object,
gpointer userdata);
@@ -83,7 +83,7 @@ gboolean rest_proxy_run_raw (RestProxy *proxy,
gchar **response_message,
GHashTable **headers,
gchar **payload,
- gssize *len,
+ goffset *len,
GError **error,
const gchar *first_field_name,
...);
diff --git a/rest/rest-xml-parser.c b/rest/rest-xml-parser.c
index b2ffdff..8b5314f 100644
--- a/rest/rest-xml-parser.c
+++ b/rest/rest-xml-parser.c
@@ -160,7 +160,7 @@ rest_xml_parser_new (void)
RestXmlNode *
rest_xml_parser_parse_from_data (RestXmlParser *parser,
const gchar *data,
- gssize len)
+ goffset len)
{
RestXmlParserPrivate *priv = GET_PRIVATE (parser);
RestXmlNode *cur_node = NULL;
diff --git a/rest/rest-xml-parser.h b/rest/rest-xml-parser.h
index 67dddf4..e7a5804 100644
--- a/rest/rest-xml-parser.h
+++ b/rest/rest-xml-parser.h
@@ -47,7 +47,7 @@ void rest_xml_node_free (RestXmlNode *node);
RestXmlParser *rest_xml_parser_new (void);
RestXmlNode *rest_xml_parser_parse_from_data (RestXmlParser *parser,
const gchar *data,
- gssize len);
+ goffset len);
const gchar *rest_xml_node_get_attr (RestXmlNode *node,
const gchar *attr_name);