diff options
Diffstat (limited to 'components/dfs/filesystems/jffs2/src/pushpull.h')
| -rw-r--r-- | components/dfs/filesystems/jffs2/src/pushpull.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/jffs2/src/pushpull.h b/components/dfs/filesystems/jffs2/src/pushpull.h index c0c2a9158d..4e84ee38a8 100644 --- a/components/dfs/filesystems/jffs2/src/pushpull.h +++ b/components/dfs/filesystems/jffs2/src/pushpull.h @@ -26,7 +26,7 @@ struct pushpull { static inline void init_pushpull(struct pushpull *pp, char *buf, unsigned buflen, unsigned ofs, unsigned reserve) { - pp->buf = buf; + pp->buf = (unsigned char *)buf; pp->buflen = buflen; pp->ofs = ofs; pp->reserve = reserve; |
