From e144ef03a26af2ad078d35921dcc22e6be557a3a Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Fri, 7 May 2010 19:33:14 +0000 Subject: [PATCH] Windows build warning fix This was SVN commit r7510. --- source/scriptinterface/ScriptInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/scriptinterface/ScriptInterface.cpp b/source/scriptinterface/ScriptInterface.cpp index b171cfdcf2..4d1304426d 100644 --- a/source/scriptinterface/ScriptInterface.cpp +++ b/source/scriptinterface/ScriptInterface.cpp @@ -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);