1
0
forked from mirrors/0ad

Fix compiler warning, thanks to elexis. Refs #4056

This was SVN commit r18442.
This commit is contained in:
wraitii
2016-06-26 16:51:52 +00:00
parent 9f796068f8
commit a4a45e4dc4
+1 -1
View File
@@ -288,7 +288,7 @@ bool ProfileAttribute(JSContext* cx, uint argc, jsval* vp)
name = StringFlyweight(str).get().c_str();
}
g_Profiler2.RecordAttribute(name);
g_Profiler2.RecordAttribute("%s", name);
args.rval().setUndefined();
return true;