From: Quentin Rameau Date: Sun, 22 Nov 2015 01:22:38 +0000 (+0100) Subject: Continue making chars const X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=2fb122c01202e7b8f2b31f964daee19b86f4d433;p=surf.git Continue making chars const --- 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; }