Fix build warnings 54/62454/1
authorMok Jeongho <jho.mok@samsung.com>
Wed, 16 Mar 2016 06:44:49 +0000 (15:44 +0900)
committerMok Jeongho <jho.mok@samsung.com>
Wed, 16 Mar 2016 06:44:49 +0000 (15:44 +0900)
[Version] 0.1.10
[Profile] TV
[Issue Type] Fix Warning

Change-Id: Id9e2e5c551d8b191a1b44b9a0a326e4f3f335992

packaging/audio-hal-hawkp.spec
tizen-audio-volume.c

index 1ba3354d824624e18e5fcec0a02fc46c529a597e..33ab2d0021579094af0f58879aaee1db662c175f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-hawkp
 Summary:    TIZEN Audio HAL for Hawkp
-Version:    0.1.9
+Version:    0.1.10
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 591c78095adc199ea2e7ee87efb089c02dd80072..19feee9dd280217b280b3ed43c261bf02b43cbe0 100644 (file)
@@ -413,7 +413,7 @@ audio_return_t audio_get_volume_mute(void *audio_handle, audio_volume_info_t *in
 
     /* TODO. Not implemented for other than master type */
     if (__get_volume_idx_by_string_type(info->type) == AUDIO_VOLUME_TYPE_MASTER) {
-        if ((audio_ret = _audio_mixer_control_get_value(ah, ALSA_CARD1, AMIXER_AMP_MUTE, mute)) != AUDIO_RET_OK) {
+        if ((audio_ret = _audio_mixer_control_get_value(ah, ALSA_CARD1, AMIXER_AMP_MUTE, (int*) mute)) != AUDIO_RET_OK) {
             AUDIO_LOG_ERROR("get master mute with mixer failed");
         }
     }