diff options
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r-- | plugins/AutoShutdown/src/cpuusage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/cpuusage.cpp b/plugins/AutoShutdown/src/cpuusage.cpp index d5cfa13b05..1bdd09efaa 100644 --- a/plugins/AutoShutdown/src/cpuusage.cpp +++ b/plugins/AutoShutdown/src/cpuusage.cpp @@ -94,7 +94,7 @@ static void WinNT_PollThread(void *vparam) dwObjectId = 238; /*'Processor' object */
dwCounterId = 6; /* '% processor time' counter */
pwszInstanceName = L"_Total"; /* '_Total' instance */
- _itot_s(dwObjectId, wszValueName, 10);
+ _itow_s(dwObjectId, wszValueName, 10);
fSwitched = WinNT_PerfStatsSwitch(L"PerfOS", FALSE);
/* poll */
|