tests: fix typecast to fix compilation

This commit is contained in:
Wim Taymans 2014-02-14 15:53:55 +01:00
parent bbe6d9a258
commit 6af234e29e

View 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) {