Edje: Silence more clang stuff

And make it explicit that the enum is unsigned
This commit is contained in:
Jean-Philippe Andre 2015-04-21 20:44:38 +09:00
parent 02d94f5e5e
commit 3b35e354f2
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ EAPI void
edje_audio_channel_mute_set(Edje_Channel channel, Eina_Bool mute)
{
#ifdef ENABLE_MULTISENSE
if ((channel < 0) || (channel > 7)) return;
if ((unsigned) channel > 7) return;
_channel_mute_states[channel] = mute;
#else
(void) channel;
@ -122,7 +122,7 @@ EAPI Eina_Bool
edje_audio_channel_mute_get(Edje_Channel channel)
{
#ifdef ENABLE_MULTISENSE
if ((channel < 0) || (channel > 7)) return EINA_FALSE;
if ((unsigned) channel > 7) return EINA_FALSE;
return _channel_mute_states[channel];
#else
(void) channel;