mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user