diff options
Diffstat (limited to 'webkit/tools/test_shell/mac/main.mm')
-rw-r--r-- | webkit/tools/test_shell/mac/main.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/mac/main.mm b/webkit/tools/test_shell/mac/main.mm index 9dd39be..a3dbeb8 100644 --- a/webkit/tools/test_shell/mac/main.mm +++ b/webkit/tools/test_shell/mac/main.mm @@ -27,7 +27,7 @@ static char g_currentTestName[PATH_MAX]; -static const char* kStatsFile = "testshell"; +static const wchar_t* kStatsFile = L"testshell"; static int kStatsFileThreads = 20; static int kStatsFileCounters = 100; @@ -164,8 +164,8 @@ int main(const int argc, const char *argv[]) { // Load and initialize the stats table (one per process, so that multiple // instances don't interfere with each other) - char statsfile[64]; - snprintf(statsfile, 64, "%s-%d", kStatsFile, getpid()); + wchar_t statsfile[64]; + swprintf(statsfile, 64, L"%ls-%d", kStatsFile, getpid()); StatsTable *table = new StatsTable(statsfile, kStatsFileThreads, kStatsFileCounters); StatsTable::set_current(table); |