Fix compilation warning due to incorrectly specified type
authorAlexandre Raymond <cerbere@gmail.com>
Fri, 27 May 2011 17:22:28 +0000 (13:22 -0400)
committerAndreas Färber <andreas.faerber@web.de>
Tue, 14 Jun 2011 01:08:56 +0000 (03:08 +0200)
commitd9cbb0f3ed0e3a185a61a18de856d51cf7789bf5
tree7350bcc89418e16a754e7fbee353832c0e319eb9
parente4ebcc1a37a7e66205f477a7d2805fb5d0ce3d3b
Fix compilation warning due to incorrectly specified type

In audio/coreaudio.c, a variable named "str" was assigned "const char" values,
which resulted in the following warnings:

-----8<-----
audio/coreaudio.c: In function ‘coreaudio_logstatus’:
audio/coreaudio.c:59: warning: initialization discards qualifiers from pointer target type
audio/coreaudio.c:63: warning: assignment discards qualifiers from pointer target type
(...)
-----8<-----

Signed-off-by: Alexandre Raymond <cerbere@gmail.com>
Acked-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
audio/coreaudio.c