summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-03-24 10:54:30 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-03-24 10:54:30 +0000
commit688545ea16670f4e42187cd3095e55286f610462 (patch)
tree2f4c7edc4e927839589bc8118b9affd985c977de /firmware
parent669313a11dd1d4afaf4cc1b415e45acc91a5ba43 (diff)
downloadrockbox-688545ea16670f4e42187cd3095e55286f610462.tar.gz
rockbox-688545ea16670f4e42187cd3095e55286f610462.tar.bz2
rockbox-688545ea16670f4e42187cd3095e55286f610462.zip
fix warning, use unsigned variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29638 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 60c15597af..c87a15ea09 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -831,7 +831,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
int retry_all = 0;
int const retry_data_max = 100; /* Generous, methinks */
int retry_data;
- int real_numblocks;
+ unsigned int real_numblocks;
mutex_lock(&sd_mtx);
#ifndef BOOTLOADER