summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-06-30 21:22:03 -0500
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-06-30 21:23:21 -0500
commit2d166afcfc083ce650192155e6925ed4f6d79bca (patch)
tree7facd5d6039cda05ca74a6647472e40244dae3f9
parentc64bbe1c4874cece96720fd0bb6a07cc61978469 (diff)
downloadepiphany-2d166afcfc083ce650192155e6925ed4f6d79bca.tar.gz
Fix const qualifiers warning
I introduced this warning recently when fixing the memory leak that was here.
-rw-r--r--lib/ephy-uri-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-uri-helpers.c b/lib/ephy-uri-helpers.c
index bb4fef3b0..6931f6780 100644
--- a/lib/ephy-uri-helpers.c
+++ b/lib/ephy-uri-helpers.c
@@ -508,7 +508,7 @@ char *
ephy_uri_to_security_origin (const char *uri_string)
{
WebKitSecurityOrigin *origin;
- const char *result;
+ char *result;
/* Convert to URI containing only protocol, host, and port. */
origin = webkit_security_origin_new_for_uri (uri_string);