summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-29 15:36:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-29 15:36:02 +0000
commit850061ca09fa4555c7cac952c4455430c8f9dbd7 (patch)
tree2a8d29498e8b2b46ef412b94be49bfd4271b0a65 /nuttx/fs
parent872cf9f99f8b6e2a64781c0c6bc8aee6e35f5cb7 (diff)
downloadpx4-nuttx-850061ca09fa4555c7cac952c4455430c8f9dbd7.tar.gz
px4-nuttx-850061ca09fa4555c7cac952c4455430c8f9dbd7.tar.bz2
px4-nuttx-850061ca09fa4555c7cac952c4455430c8f9dbd7.zip
Fix Linux sim errors/warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@842 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fat/fs_writefat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fat/fs_writefat.c b/nuttx/fs/fat/fs_writefat.c
index ee5979ddd..0cffac044 100644
--- a/nuttx/fs/fat/fs_writefat.c
+++ b/nuttx/fs/fat/fs_writefat.c
@@ -80,7 +80,7 @@ static inline void mkfatfs_initmbr(FAR struct fat_format_s *fmt,
/* 8@3: Usually "MSWIN4.1" */
- strcpy(&var->fv_sect[BS_OEMNAME], "NUTTX ");
+ strcpy((char*)&var->fv_sect[BS_OEMNAME], "NUTTX ");
/* 2@11: Bytes per sector: 512, 1024, 2048, 4096 */