'Twas brillig, and Tanu Kaskinen at 27/03/11 19:35 did gyre and gimble:
> On 64-bit systems LONG_MAX is greater than the largest possible value of a
> uint32_t variable, which caused the compiler to warn about a comparison that 
> is
> always false. On 32-bit systems pa_atou() can return a value that will 
> overflow
> when assigned to e->volume_limit, which has type long, so the comparison was
> necessary.

Thanks.

Merged in my tree.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to