From 850061ca09fa4555c7cac952c4455430c8f9dbd7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 29 Aug 2008 15:36:02 +0000 Subject: Fix Linux sim errors/warning git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@842 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/fs/fat/fs_writefat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/fs') 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 */ -- cgit v1.2.3