Fix warning in js_DumpAtoms on 64-bit (no bug)

This commit is contained in:
Luke Wagner 2010-07-30 16:50:38 -07:00
parent 1cd082cba6
commit 48166dd26f

View File

@ -637,7 +637,7 @@ js_DumpAtoms(JSContext *cx, FILE *fp)
JSAtomState *state = &cx->runtime->atomState; JSAtomState *state = &cx->runtime->atomState;
fprintf(fp, "atoms table contents:\n"); fprintf(fp, "atoms table contents:\n");
size_t number; unsigned number;
for (AtomSet::Range r = state->atoms.all(); !r.empty(); r.popFront()) { for (AtomSet::Range r = state->atoms.all(); !r.empty(); r.popFront()) {
AtomEntryType entry = r.front(); AtomEntryType entry = r.front();
fprintf(fp, "%3u ", number++); fprintf(fp, "%3u ", number++);