dd5233b4e4f6f40b5bd5913600a677c0b01fdc69
diff --git a/libsoup/soup-cookie.c b/libsoup/soup-cookie.c
index d3f0920..dbda91a 100644
--- a/libsoup/soup-cookie.c
+++ b/libsoup/soup-cookie.c
@@ -149,7 +149,7 @@ soup_cookie_get_type (void)
  * Copies @cookie.
  **/
 SoupCookie *
-soup_cookie_copy (const SoupCookie *cookie)
+soup_cookie_copy (SoupCookie *cookie)
 {
 	SoupCookie *copy = g_slice_new0 (SoupCookie);
 
diff --git a/libsoup/soup-cookie.h b/libsoup/soup-cookie.h
index 1697338..26ca5b7 100644
--- a/libsoup/soup-cookie.h
+++ b/libsoup/soup-cookie.h
@@ -32,7 +32,7 @@ SoupCookie *soup_cookie_new                  (const char       *name,
 					      const char       *domain,
 					      const char       *path,
 					      int               max_age);
-SoupCookie *soup_cookie_copy                 (const SoupCookie *cookie);
+SoupCookie *soup_cookie_copy                 (SoupCookie *cookie);
 SoupCookie *soup_cookie_parse                (const char       *header,
 					      SoupURI          *origin);
 void        soup_cookie_set_name             (SoupCookie       *cookie,
@@ -60,7 +60,6 @@ void        soup_cookies_to_response         (GSList           *cookies,
 					      SoupMessage      *msg);
 void        soup_cookies_to_request          (GSList           *cookies,
 					      SoupMessage      *msg);
-SoupCookie *soup_cookie_copy                 (const SoupCookie *cookie);
 void        soup_cookies_free                (GSList           *cookies);
 char       *soup_cookies_to_cookie_header    (GSList           *cookies);
 gboolean    soup_cookie_applies_to_uri       (SoupCookie       *cookie,
