Bug 925879 - use sizeof(void*) instead of JS_BYTES_PER_WORD in jsfriendapi.h; r=njn

This commit is contained in:
Nathan Froyd 2013-10-11 15:17:07 -04:00
parent 73d53adda3
commit cfb5e560f4

View File

@ -1492,7 +1492,7 @@ JSID_TO_ATOM(jsid id)
return (JSAtom *)JSID_TO_STRING(id);
}
JS_STATIC_ASSERT(sizeof(jsid) == JS_BYTES_PER_WORD);
JS_STATIC_ASSERT(sizeof(jsid) == sizeof(void*));
namespace js {