|author||Tanu Kaskinen <email@example.com>||2011-03-27 21:35:03 +0300|
|committer||Colin Guthrie <firstname.lastname@example.org>||2011-03-28 09:52:55 +0100|
alsa-mixer: Get rid of a compiler warning.
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. This dilemma is resolved by using pa_atol() instead of pa_atou().
Diffstat (limited to 'src/modules/module-cork-music-on-phone.c')
0 files changed, 0 insertions, 0 deletions