Fix compiler warning in jstracer.cpp. No bug, r=brendan/jorendorff

This commit is contained in:
Blake Kaplan 2009-02-21 14:35:05 -08:00
parent adf5d20bc2
commit 24cf18952c

View File

@ -1589,7 +1589,7 @@ NativeToValue(JSContext* cx, jsval& v, uint8 type, double* slot)
case JSVAL_BOXED:
v = *(jsval*)slot;
JS_ASSERT(v != JSVAL_ERROR_COOKIE); /* don't leak JSVAL_ERROR_COOKIE */
debug_only_v(printf("box<%x> ", v));
debug_only_v(printf("box<%p> ", (void*)v));
break;
case JSVAL_TNULL:
JS_ASSERT(*(JSObject**)slot == NULL);