Fix crash on Windows when dumping admin cache to file.
This commit is contained in:
@@ -108,9 +108,9 @@ static void DumpHandles(void (*dumpfn)(const char *fmt, ...))
|
||||
g_HandleSys.Dump(dumpfn);
|
||||
}
|
||||
|
||||
static void DumpAdminCache(FILE *f)
|
||||
static bool DumpAdminCache(const char *filename)
|
||||
{
|
||||
g_Admins.DumpCache(f);
|
||||
return g_Admins.DumpCache(filename);
|
||||
}
|
||||
|
||||
static void RegisterProfiler(IProfilingTool *tool)
|
||||
|
||||
Reference in New Issue
Block a user