summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index d8a2ef6..faf712f 100644
--- a/surf.c
+++ b/surf.c
@@ -394,9 +394,9 @@ loaduri(Client *c, const Arg *a)
const char *
geturi(Client *c)
{
- char *uri;
+ const char *uri;
- if (!(uri = (char *)webkit_web_view_get_uri(c->view)))
+ if (!(uri = webkit_web_view_get_uri(c->view)))
uri = "about:blank";
return uri;
}