Add kfile_off_t typedef, and use it.
[bertos.git] / drv / dataflash.c
index eab316581be7e633ba6ba201e73c253b707d31ea..fb00c4c7c3c50abf9041676408cbd75a2cc162f7 100644 (file)
@@ -363,7 +363,7 @@ static bool dataflash_close(UNUSED_ARG(struct _KFile *,fd))
  * Move \a fd file seek position of \a offset bytes
  * from current position.
  */
-static int32_t dataflash_seek(struct _KFile *fd, int32_t offset, KSeekMode whence)
+static int32_t dataflash_seek(struct _KFile *fd, kfile_off_t offset, KSeekMode whence)
 {
        uint32_t seek_pos;