From 6af234e29e9f64ce55901965c741ee71cffeaf50 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 14 Feb 2014 15:53:55 +0100 Subject: [PATCH] tests: fix typecast to fix compilation --- tests/check/elements/souphttpsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c index 360817f..6994fac 100644 --- a/tests/check/elements/souphttpsrc.c +++ b/tests/check/elements/souphttpsrc.c @@ -530,7 +530,7 @@ do_get (SoupMessage * msg, const char *path) soup_message_headers_append (msg->response_headers, "Location", redir_uri); g_free (redir_uri); } - if (status != (SoupKnownStatusCode) SOUP_STATUS_OK && !send_error_doc) + if (status != (SoupStatus) SOUP_STATUS_OK && !send_error_doc) goto leave; if (msg->method == SOUP_METHOD_GET) { -- 2.7.4