pkgsrc/lang/ossp-js/patches/patch-ag
2008-04-04 01:56:16 +00:00

13 lines
465 B
Text

$NetBSD: patch-ag,v 1.1 2008/04/04 01:56:16 bjs Exp $
--- src/jsdbgapi.c.orig 2006-04-04 10:09:45.000000000 -0400
+++ src/jsdbgapi.c
@@ -940,7 +940,7 @@ JS_EvaluateInStackFrame(JSContext *cx, J
jschar *chars;
JSBool ok;
- chars = js_InflateString(cx, bytes, &length);
+ chars = js_InflateString(cx, bytes, (size_t *)&length);
if (!chars)
return JS_FALSE;
ok = JS_EvaluateUCInStackFrame(cx, fp, chars, length, filename, lineno,