From 5ee7c6fd5c33a0656908bb660abbbdb117b483dc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 31 Jan 2013 22:53:20 +0000 Subject: fix cast warning in location::href setter --- javascript/jsapi/location.bnd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/jsapi/location.bnd b/javascript/jsapi/location.bnd index 3edbf9ecc..7fa12d4c4 100644 --- a/javascript/jsapi/location.bnd +++ b/javascript/jsapi/location.bnd @@ -66,7 +66,7 @@ setter href %{ int url_len = 0; char *url = NULL; - url_jsstr = JS_ValueToString(cx, vp); + url_jsstr = JS_ValueToString(cx, *vp); if (url_jsstr != NULL) { JSString_to_char(url_jsstr, url, url_len); browser_window_go(private->htmlc->bw, url, NULL, false); -- cgit v1.2.3