summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-28 09:49:48 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-28 09:49:48 +0000
commit5abca3c226721c819da72df970e2f0ff63fe9dc4 (patch)
tree2422d258b7eaf4a3ae615eb7881280028cc9ff92
parent5426994398b97ac76fa5cc107ceafb7a67f2364a (diff)
TCC730 slight stylistic improvement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6081 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index b0f6eb65a0..f792a132e7 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -235,7 +235,7 @@ static inline unsigned long SWAB32(unsigned long value)
result[ 7.. 0] = value[31..24];
*/
{
- unsigned short hi = SWAB16(value >> 16);
+ unsigned long hi = SWAB16(value >> 16);
unsigned long lo = SWAB16(value & 0xffff);
return (lo << 16) | hi;
}