summaryrefslogtreecommitdiffstats
path: root/firmware/storage.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2014-08-29 23:36:11 -0400
committerMichael Sevakis <jethead71@rockbox.org>2014-08-29 23:36:11 -0400
commitf3d60aea34de60c4371c04fa1b8482ca71a64b53 (patch)
treeda90e55f804b4d9a9e93e48ff21416f9182801ca /firmware/storage.c
parent17a007bc60c69d6ea471a96a465e04ba4ac2d00f (diff)
downloadrockbox-f3d60aea34de60c4371c04fa1b8482ca71a64b53.tar.gz
rockbox-f3d60aea34de60c4371c04fa1b8482ca71a64b53.tar.bz2
rockbox-f3d60aea34de60c4371c04fa1b8482ca71a64b53.zip
Hopefully fix most of the errors and warnings from the last push
Change-Id: I1a466b2d55f120796910039a0296ca324c58e891
Diffstat (limited to 'firmware/storage.c')
-rw-r--r--firmware/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/storage.c b/firmware/storage.c
index 7ef7428854..e0b491a5f9 100644
--- a/firmware/storage.c
+++ b/firmware/storage.c
@@ -192,7 +192,7 @@ int storage_num_drives(void)
int storage_driver_type(int drive)
{
- if (drive >= num_drives)
+ if ((unsigned int)drive >= num_drives)
return -1;
unsigned int bit = (storage_drivers[drive] & DRIVER_MASK)>>DRIVER_OFFSET;