summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-04 00:13:06 +0000
committerThomas Martitz <kugel@rockbox.org>2012-01-04 00:13:06 +0000
commitd6db4cc105819f004fbb2207d511f1ae8889c9af (patch)
tree770ba899fe043ea40f491fc2a4a337b0890a1377
parent0f714756061924b2e7a4f93d5246b83e96220726 (diff)
Fix beast warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31552 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
index 1a8e12182a..2809644589 100644
--- a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
@@ -216,7 +216,7 @@ static bool main_charger_connected(void)
/* Return the voltage level which should automatically trigger
* another recharge cycle based upon which power source is available.
* Assumes at least one is. */
-static unsigned int auto_recharge_voltage(void)
+static int auto_recharge_voltage(void)
{
if (main_charger_connected())
return BATT_VAUTO_RECHARGE;