[openrtm-commit:03254] r3249 - branches/RELENG_1_2/OpenRTM-aist/src/lib/coil/win32/coil
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 3月 20日 (火) 18:50:58 JST
Author: miyamoto
Date: 2018-03-20 18:50:58 +0900 (Tue, 20 Mar 2018)
New Revision: 3249
Modified:
branches/RELENG_1_2/OpenRTM-aist/src/lib/coil/win32/coil/Affinity.cpp
Log:
[bugfix, ->trunk] bug fixed.
Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/coil/win32/coil/Affinity.cpp
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/coil/win32/coil/Affinity.cpp 2018-03-20 04:52:12 UTC (rev 3248)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/coil/win32/coil/Affinity.cpp 2018-03-20 09:50:58 UTC (rev 3249)
@@ -36,7 +36,7 @@
DWORD cpu_num = listToCUPNUM(cpu_mask);
DWORD processMask, systemMask = 0;
HANDLE h = GetCurrentProcess();
- BOOL success = GetProcessAffinityMask(h, &processMask, &systemMask);
+ BOOL success = GetProcessAffinityMask(h, (PDWORD_PTR)&processMask, (PDWORD_PTR)&systemMask);
if (success)
{
for (int i = 0; i < 32; i++)
openrtm-commit メーリングリストの案内