ports/lang/spidermonkey/files/patch-jsopcode.c
Pav Lucistnik 7afe70dc06 - Fix on 64-bit arches
PR:		ports/92396
Submitted by:	Dan Rench <citric@cubicone.tmetic.com> (maintainer)
2006-01-29 18:05:55 +00:00

11 lines
444 B
C

--- jsopcode.c.orig Sun Aug 29 18:00:24 2004
+++ jsopcode.c Sat Jan 14 02:26:07 2006
@@ -239,7 +239,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;