[epiphany/gnome-3-28] Fix const qualifiers warning
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [epiphany/gnome-3-28] Fix const qualifiers warning
- Date: Sun,  1 Jul 2018 17:39:44 +0000 (UTC)
commit 3ed3677ccc5cbd5a62beabd43b802454110aeddd
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Jun 30 21:22:03 2018 -0500
    Fix const qualifiers warning
    
    I introduced this warning recently when fixing the memory leak that was
    here.
    
    
    (cherry picked from commit 2d166afcfc083ce650192155e6925ed4f6d79bca)
 lib/ephy-uri-helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]