Bug 990247 - Conditional jump or move depends on uninitialised value(s) and Use of uninitialised value of size 4 [@ dosprintf]. r=n.nethercote.

--HG--
extra : rebase_source : bebbc355cca7365b500b82ef29f29eb29420c600
This commit is contained in:
Julian Seward 2014-04-28 17:17:50 +02:00
parent 15b9ce31ab
commit deab483e5d

View File

@ -2764,7 +2764,7 @@ jit::Invalidate(JSContext *cx, JSScript *script, ExecutionMode mode, bool resetU
return false;
// Construct the descriptive string.
JS_snprintf(buf, len, "Invalidate %s:%llu", filename, script->lineno());
JS_snprintf(buf, len, "Invalidate %s:%u", filename, (unsigned int)script->lineno());
cx->runtime()->spsProfiler.markEvent(buf);
js_free(buf);
}