Gerald Pfeifer gerald@pfeifer.com writes:
Another simplifcation I'd like to ping if you don't mind.
---------- Forwarded message ---------- From: Gerald Pfeifer gerald@pfeifer.com To: wine-patches@winehq.org Date: Thu, 1 Nov 2007 16:14:28 +0100 (CET) Subject: taskmgr/perfpage.c simplification
CpuUsage and CpuKernelUsage are of type ULONG, so it does not make sense checking whether they are less than 0.
The checks should most likely done in PerfDataGetProcessorUsage before converting to ULONG.