projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add kfile_off_t typedef, and use it.
[bertos.git]
/
drv
/
dataflash.c
diff --git
a/drv/dataflash.c
b/drv/dataflash.c
index eab316581be7e633ba6ba201e73c253b707d31ea..fb00c4c7c3c50abf9041676408cbd75a2cc162f7 100644
(file)
--- 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.
*/
* 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;
{
uint32_t seek_pos;