Fix AVR warnings; FAT FS needs to use off_t instead of size_t

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3728 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-06-20 20:54:45 +00:00
parent a06d4256e4
commit 37b42d4259
13 changed files with 79 additions and 68 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ static int bch_ioctl(FAR struct file *filp, int cmd, unsigned long arg)
if (cmd == DIOC_GETPRIV)
{
FAR struct bchlib_s **bchr = (FAR struct bchlib_s **)arg;
FAR struct bchlib_s **bchr = (FAR struct bchlib_s **)((uintptr_t)arg);
bchlib_semtake(bch);
if (!bchr && bch->refs < 255)