forked from mirrors/0ad
Fix compiler warning, thanks to elexis. Refs #4056
This was SVN commit r18442.
This commit is contained in:
@@ -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