Fixed printing of integer incoming values in DEBUG mode.

This commit is contained in:
Andreas Gal 2008-07-13 21:53:35 -07:00
parent 9f70036004
commit 93bf68110b

View File

@ -656,7 +656,7 @@ unbox_jsval(jsval v, uint8 t, double* slot)
verbose_only(printf("int != tag%d(value=%d) ", JSVAL_TAG(v), v);)
return false;
}
verbose_only(printf("int<%d> ", i);)
verbose_only(printf("int<%d> ", *(jsint*)slot);)
return true;
}
if (type == JSVAL_DOUBLE) {