[vlc-devel] [PATCH] modules: cache: use the same type for reading and writing
Rémi Denis-Courmont
remi at remlab.net
Tue Oct 11 15:23:33 CEST 2016
Le mardi 11 octobre 2016, 12:12:29 Steve Lhomme a écrit :
> sizeof() is used to know the size to read and write. On Windows the stat
> struct is not using the same types that are used for writing.
They are the same. module_cache_t specifically defines them to the same
underlying type as struct stat.
Besides, module cache wouldn't have worked if it weren't true.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list