forked from Imagelibrary/rtems
2009-01-29 Gene Smith <gene.smith@siemens.com>
PR 1363/filesystem * libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written correctly in FAT f/s data.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2009-01-29 Gene Smith <gene.smith@siemens.com>
|
||||||
|
|
||||||
|
PR 1363/filesystem
|
||||||
|
* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
|
||||||
|
correctly in FAT f/s data.
|
||||||
|
|
||||||
2009-01-29 Eric Norum <norume@aps.anl.gov>
|
2009-01-29 Eric Norum <norume@aps.anl.gov>
|
||||||
|
|
||||||
PR 1364/cpukit
|
PR 1364/cpukit
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define FAT_SET_VAL32(x, ofs,val) do { \
|
#define FAT_SET_VAL32(x, ofs,val) do { \
|
||||||
uint32_t val1 = val; \
|
uint32_t val1 = val; \
|
||||||
FAT_SET_VAL16((x),(ofs),(val1)&&0xffff);\
|
FAT_SET_VAL16((x),(ofs),(val1)&0xffff);\
|
||||||
FAT_SET_VAL16((x),(ofs)+2,(val1)>>16);\
|
FAT_SET_VAL16((x),(ofs)+2,(val1)>>16);\
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user