Windows build warning fix

This was SVN commit r7510.
This commit is contained in:
Ykkrosh committed 2010-05-07 19:33:14 +00:00
1 parent dccb4643fb
commit e144ef03a2
1 file changed
+1 -1
+1 -1
View File
@@ -548,7 +548,7 @@ void* ScriptInterface::GetPrivate(JSContext* cx, JSObject* obj)
void ScriptInterface::DumpHeap()
{
#ifdef DEBUG
JS_DumpHeap(m->m_cx, stderr, NULL, 0, NULL, -1, NULL);
JS_DumpHeap(m->m_cx, stderr, NULL, 0, NULL, (size_t)-1, NULL);
#endif
fprintf(stderr, "# Bytes allocated: %d\n", JS_GetGCParameter(m->m_rt, JSGC_BYTES));
JS_GC(m->m_cx);