Open ZanyXDev opened 4 years ago
cb.c
vfs_dirent_t* dest = (vfs_dirent_t*)(buf + offset);
buf' is of type void *. When using void pointers in calculations, the behaviour is undefined.
void *
cb.c
vfs_dirent_t* dest = (vfs_dirent_t*)(buf + offset);