mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-09 05:20:09 +00:00
Fix compiler warning, thanks to elexis. Refs #4056
This was SVN commit r18442.
This commit is contained in:
1 parent
9f796068f8
commit
a4a45e4dc4
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user