X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=197de44af087ba564da5f0a947e7719c3f545b28;hb=764550e087e0ae3d8d11f349e711a2cf7bd81ca5;hp=ec6574a7602dfd5389d8a6037e870b1b32c66f35;hpb=4f7fdd1dfa6ed0c76a6858421aa1f5c56957a27a;p=surf.git diff --git a/surf.c b/surf.c index ec6574a..197de44 100644 --- a/surf.c +++ b/surf.c @@ -434,7 +434,7 @@ loaduri(Client *c, const Arg *arg) { void navigate(Client *c, const Arg *arg) { - gint steps = *(gint *)arg; + int steps = *(int *)arg; webkit_web_view_go_back_or_forward(c->view, steps); }