summaryrefslogtreecommitdiff
path: root/gdata/gdata-batch-feed.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-06-09 16:00:09 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2015-06-09 18:00:24 +0800
commit1dd92748d8bdb5bb538c6701db4857e18e842ff8 (patch)
tree779544b1586cf272ef6b005ac95c11fdc1b515ab /gdata/gdata-batch-feed.c
parentc4f9bdedcdad0c392c1b2e854179213fa0e0c52b (diff)
downloadlibgdata-1dd92748d8bdb5bb538c6701db4857e18e842ff8.tar.gz
build: Fix -Werror build for clang
This fixes implicit enumeration type conversion. https://bugzilla.gnome.org/show_bug.cgi?id=750480
Diffstat (limited to 'gdata/gdata-batch-feed.c')
-rw-r--r--gdata/gdata-batch-feed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdata/gdata-batch-feed.c b/gdata/gdata-batch-feed.c
index 0c04bcc8..103ec9c3 100644
--- a/gdata/gdata-batch-feed.c
+++ b/gdata/gdata-batch-feed.c
@@ -123,7 +123,8 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da
/* Parse the error (it's returned in a service-specific format */
g_assert (klass->parse_error_response != NULL);
- klass->parse_error_response (service, op->type, status_code, status_reason, (gchar*) xmlBufferContent (status_response),
+ klass->parse_error_response (service, (GDataOperationType) op->type, status_code,
+ status_reason, (gchar*) xmlBufferContent (status_response),
xmlBufferLength (status_response), &child_error);
/* Run the operation's callback. This takes ownership of @child_error. */