summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-07-25 08:49:11 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-07-25 08:49:11 -0500
commit3834094172480a0c64c91a20544c0a6f81c646c2 (patch)
treee111ce38537a0c323b6359f1110b4fb499838ad5 /firmware/sound.c
parentb5b43a0fef087afdc3d7a69a3f62fb7dcbfe4e77 (diff)
downloadrockbox-3834094172480a0c64c91a20544c0a6f81c646c2.tar.gz
rockbox-3834094172480a0c64c91a20544c0a6f81c646c2.tar.bz2
rockbox-3834094172480a0c64c91a20544c0a6f81c646c2.zip
Fix Red -- sound_current #_2
Change-Id: Iae31a5fd414708b4a222ba0b05b5828a8e0d19af
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 51b7c08e13..5d9ca7265b 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -196,8 +196,15 @@ int sound_current(int setting)
#endif /*IF 0*/
#endif /*ndef BOOTLOADER*/
+#ifdef INT_MIN
default:
return INT_MIN;
+#else
+ default:
+ return -32768;
+#endif
+
+
} /* switch(setting) */
}/* sound_current */