changeset 1972:2bd85ddedf9e

Fix a warning.
author Jonathan Schleifer <js@h3c.de>
date Wed, 03 Oct 2007 16:15:00 +0200
parents 4ead92d8e6c3
children f86cb7fc1d4f
files src/neon/neon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/neon/neon.c	Wed Oct 03 15:37:04 2007 +0200
+++ b/src/neon/neon.c	Wed Oct 03 16:15:00 2007 +0200
@@ -511,7 +511,7 @@
             /* We hit a redirect. Handle it. */
             _DEBUG("Redirect encountered");
             handle->redircount += 1;
-            handle->purl = ne_redirect_location(handle->session);
+            handle->purl = (ne_uri*)ne_redirect_location(handle->session);
             ne_request_destroy(handle->request);
             if (NULL == handle->purl) {
                 _ERROR("Could not parse redirect response");