]> Git Repo - qemu.git/commit - audio/coreaudio.c
Fix compilation warning due to incorrectly specified type
authorAlexandre Raymond <[email protected]>
Fri, 27 May 2011 17:22:28 +0000 (13:22 -0400)
committerAndreas Färber <[email protected]>
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 <[email protected]>
Acked-by: Stefan Weil <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
audio/coreaudio.c
This page took 0.021868 seconds and 4 git commands to generate.