X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flfs.h;h=ede41268691578370d490c229013ac6adc3cd250;hb=ed4e86de76d1c3bfb685207fe00078950f67355a;hp=3896c0e61d2655d4b1b0224f54a1593ad04495dd;hpb=aba69716e835e6f2398e82ddcba4b14c04495c02;p=libucw.git diff --git a/lib/lfs.h b/lib/lfs.h index 3896c0e6..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(byte *name) +sh_file_size(const char *name) { int fd = sh_open(name, O_RDONLY); if (fd < 0)