mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Fixing linux warning
This commit is contained in:
parent
ab2352e498
commit
5083998c76
@ -2439,7 +2439,7 @@ PrimaryExpr(JSContext *cx, JSTokenStream *ts, JSTreeContext *tc)
|
||||
#endif
|
||||
case TOK_RESERVED:
|
||||
badWord = js_DeflateString(cx, ts->token.ptr,
|
||||
ts->token.pos.end.index - ts->token.pos.begin.index);
|
||||
(size_t) ts->token.pos.end.index - ts->token.pos.begin.index);
|
||||
js_ReportCompileErrorNumber(cx, ts, JSREPORT_ERROR,
|
||||
JSMSG_RESERVED_ID, badWord);
|
||||
JS_free(cx, badWord);
|
||||
|
Loading…
Reference in New Issue
Block a user