From 3c7320c7acf81b5941e4d25aad1e15cb00b5d8a1 Mon Sep 17 00:00:00 2001 From: Bei Yang Date: Sat, 25 Apr 2009 07:19:03 +0000 Subject: [PATCH] Changed DWORD to use explicit cast to PDWORD --- panda/src/express/trueClock.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/express/trueClock.cxx b/panda/src/express/trueClock.cxx index 0fb6d016a3..a234edda81 100644 --- a/panda/src/express/trueClock.cxx +++ b/panda/src/express/trueClock.cxx @@ -137,7 +137,7 @@ set_cpu_affinity(PN_uint32 mask) const { if (gp != 0 && sp != 0) { DWORD proc_mask; DWORD sys_mask; - if (gp(GetCurrentProcess(), &proc_mask, &sys_mask)) { + if (gp(GetCurrentProcess(), (PDWORD_PTR)&proc_mask, (PDWORD_PTR)&sys_mask)) { // make sure we don't reference CPUs that don't exist proc_mask = mask & sys_mask; if (proc_mask) {