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 e4349fe983
commit 2f7d824854

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);
}