Re: Compile error in Squid 3.2.1 CpuAffinitySet

From: Dmitry Kurochkin <dmitry.kurochkin_at_measurement-factory.com>
Date: Thu, 30 Aug 2012 11:27:10 +0400

Hi Alexander.

Attach patch should fix the error. Alternatively, you may change line
73 in src/CpuAffinitySet.cc from:

    return (CPU_COUNT(&theOrigCpuSet) > 0);

to:

    return (CPU_COUNT((cpu_set_t *)&theOrigCpuSet) > 0);

Regards,
  Dmitry

Received on Thu Aug 30 2012 - 07:27:22 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 30 2012 - 12:00:12 MDT