X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=drv%2Fdataflash.c;h=fb00c4c7c3c50abf9041676408cbd75a2cc162f7;hb=2d0bc916c5779e2f3dc9e4775e235e0c633817cc;hp=eab316581be7e633ba6ba201e73c253b707d31ea;hpb=af5dc025d170816fd83e0e16232042356cb4018a;p=bertos.git diff --git a/drv/dataflash.c b/drv/dataflash.c index eab31658..fb00c4c7 100644 --- a/drv/dataflash.c +++ b/drv/dataflash.c @@ -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;