taskmgr/perfpage.c simplification (RESEND)

Alexandre Julliard julliard at winehq.org
Thu Nov 15 05:52:08 CST 2007

Gerald Pfeifer <gerald at pfeifer.com> writes:

> Another simplifcation I'd like to ping if you don't mind.
> ---------- Forwarded message ----------
> From: Gerald Pfeifer <gerald at pfeifer.com>
> To:  <wine-patches at 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.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list