diff --git a/fs/cromfs/fs_cromfs.c b/fs/cromfs/fs_cromfs.c index 125c9a9613..7990a4f28c 100644 --- a/fs/cromfs/fs_cromfs.c +++ b/fs/cromfs/fs_cromfs.c @@ -838,7 +838,7 @@ static ssize_t cromfs_read(FAR struct file *filep, FAR char *buffer, unsigned int copysize; unsigned int copyoffs; - finfo("Read %d bytes from offset %d\n", buflen, filep->f_pos); + finfo("Read %zu bytes from offset %jd\n", buflen, (intmax_t)filep->f_pos); DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL); /* Get the mountpoint inode reference from the file structure and the