tests: fix typecast to fix compilation
authorWim Taymans <wtaymans@redhat.com>
Fri, 14 Feb 2014 14:53:55 +0000 (15:53 +0100)
committerWim Taymans <wtaymans@redhat.com>
Fri, 14 Feb 2014 14:53:55 +0000 (15:53 +0100)
tests/check/elements/souphttpsrc.c

index 360817f..6994fac 100644 (file)
@@ -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) {