From cbb774f65795ec9dcad1bba4488433a41be97d0c Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Tue, 29 May 2007 23:17:37 +0000 Subject: [PATCH] Fix warning from last checkin (r=igor). --- js/src/jsemit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsemit.c b/js/src/jsemit.c index 444c96c0d0d..2b348546455 100644 --- a/js/src/jsemit.c +++ b/js/src/jsemit.c @@ -6905,6 +6905,6 @@ void js_FinishTakingTryNotes(JSContext *cx, JSCodeGenerator *cg, JSTryNoteArray *array) { - JS_ASSERT(cg->tryNext - cg->tryBase == array->length); + JS_ASSERT(cg->tryNext - cg->tryBase == (ptrdiff_t) array->length); memcpy(array->notes, cg->tryBase, TRYNOTE_SIZE(array->length)); }