diff options
Diffstat (limited to 'include/nand.h')
| -rw-r--r-- | include/nand.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/nand.h b/include/nand.h index 349034772..905115b3d 100644 --- a/include/nand.h +++ b/include/nand.h @@ -35,12 +35,12 @@ extern nand_info_t nand_info[];  static inline int nand_read(nand_info_t *info, ulong ofs, ulong *len, u_char *buf)  { -	return info->read(info, ofs, *len, len, buf); +	return info->read(info, ofs, *len, (size_t *)len, buf);  }  static inline int nand_write(nand_info_t *info, ulong ofs, ulong *len, u_char *buf)  { -	return info->write(info, ofs, *len, len, buf); +	return info->write(info, ofs, *len, (size_t *)len, buf);  }  static inline int nand_block_isbad(nand_info_t *info, ulong ofs) |