Ticket #1065: printf_signedness-fix.patch
File printf_signedness-fix.patch, 798 bytes (added by , 12 years ago) |
---|
-
source/scriptinterface/ScriptInterface.cpp
1102 1102 #if MOZJS_DEBUG_ABI 1103 1103 JS_DumpHeap(m->m_cx, stderr, NULL, 0, NULL, (size_t)-1, NULL); 1104 1104 #endif 1105 fprintf(stderr, "# Bytes allocated: % d\n", JS_GetGCParameter(GetRuntime(), JSGC_BYTES));1105 fprintf(stderr, "# Bytes allocated: %u\n", JS_GetGCParameter(GetRuntime(), JSGC_BYTES)); 1106 1106 JS_GC(m->m_cx); 1107 fprintf(stderr, "# Bytes allocated after GC: % d\n", JS_GetGCParameter(GetRuntime(), JSGC_BYTES));1107 fprintf(stderr, "# Bytes allocated after GC: %u\n", JS_GetGCParameter(GetRuntime(), JSGC_BYTES)); 1108 1108 } 1109 1109 1110 1110 void ScriptInterface::MaybeGC()