ports/lang/spidermonkey17/files/patch-jsopcode.c
Tom Judge f03f2be24f Rename lang/spidermonkey to lang/spidermonkey17 in preperation for the
import of lang/spidermonkey18.

Approved by:	Dan Rench <citric@cubicone.tmetic.com> (maintainer)
Approved by:	eadler (mentor)
2012-09-02 19:59:20 +00:00

11 lines
461 B
C

--- jsopcode.c 2007-09-27 20:30:18.000000000 +0200
+++ jsopcode.c 2008-06-19 16:10:44.000000000 +0200
@@ -262,7 +262,7 @@
pc2 += jmplen;
npairs = GET_ATOM_INDEX(pc2);
pc2 += ATOM_INDEX_LEN;
- fprintf(fp, " offset %d npairs %u", off, (uintN) npairs);
+ fprintf(fp, " offset %td npairs %u", off, (uintN) npairs);
while (npairs) {
atom = GET_ATOM(cx, script, pc2);
pc2 += ATOM_INDEX_LEN;