X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flfs.h;h=ede41268691578370d490c229013ac6adc3cd250;hb=ec085c955731db594926666e9bc6bdbbc1f5be9e;hp=ec588e65352d8760c80c8aa294e1363425ee9006;hpb=86897941a81703e1cbb14cbd3f4b3af1e3a1bcb8;p=libucw.git diff --git a/lib/lfs.h b/lib/lfs.h index ec588e65..ede41268 100644 --- a/lib/lfs.h +++ b/lib/lfs.h @@ -50,7 +50,7 @@ typedef struct stat sh_stat_t; #define HAVE_PREAD static inline sh_off_t -sh_file_size(const byte *name) +sh_file_size(const char *name) { int fd = sh_open(name, O_RDONLY); if (fd < 0)