summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 19:14:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-12-02 19:14:27 +0000
commita36e98889ff0c3f8b25eb9c3f41790a8ec224175 (patch)
tree3ff8cee6b6fa648564206fde87dbb8baff356f69 /cpukit/libfs/src/dosfs/msdos.h
parent2002-12-02 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-a36e98889ff0c3f8b25eb9c3f41790a8ec224175.tar.bz2
2002-12-02 Joel Sherrill <joel@OARcorp.com>
* src/dosfs/fat.h, src/dosfs/msdos.h: Added casts to remove warnings on 16 bit targets like the h8300.
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos.h')
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h
index a9216b1ed3..4262d515ef 100644
--- a/cpukit/libfs/src/dosfs/msdos.h
+++ b/cpukit/libfs/src/dosfs/msdos.h
@@ -100,7 +100,7 @@ typedef rtems_filesystem_node_types_t msdos_node_type_t;
#define MSDOS_EXTRACT_CLUSTER_NUM(p) \
(unsigned32)( (CF_LE_W(*MSDOS_DIR_FIRST_CLUSTER_LOW(p))) | \
- ((CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
+ ((unsigned32)(CF_LE_W((*MSDOS_DIR_FIRST_CLUSTER_HI(p))))<<16) )
/*
* Fields offset in 32 bytes long FAT Directory Entry