X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Ffb-file.c;h=04f2f4cf444442141fcfb3b4e74d5e852a9f1a99;hb=580fd9c443c2a4faba5a703d49f366de5d3968c9;hp=dd8d14886a6872e4fa74bd0a8add456467d93492;hpb=0a3c6e75d7bf2f7d79a1e448c343946f689e6ba1;p=libucw.git diff --git a/lib/fb-file.c b/lib/fb-file.c index dd8d1488..04f2f4cf 100644 --- a/lib/fb-file.c +++ b/lib/fb-file.c @@ -92,7 +92,7 @@ bfd_config(struct fastbuf *f, uns item, int value) } static struct fastbuf * -bfdopen_internal(int fd, uns buflen, const byte *name) +bfdopen_internal(int fd, uns buflen, const char *name) { int namelen = strlen(name) + 1; struct fb_file *F = xmalloc(sizeof(struct fb_file) + buflen + namelen); @@ -115,7 +115,7 @@ bfdopen_internal(int fd, uns buflen, const byte *name) } struct fastbuf * -bopen_try(const byte *name, uns mode, uns buflen) +bopen_try(const char *name, uns mode, uns buflen) { int fd = sh_open(name, mode, 0666); if (fd < 0) @@ -127,7 +127,7 @@ bopen_try(const byte *name, uns mode, uns buflen) } struct fastbuf * -bopen(const byte *name, uns mode, uns buflen) +bopen(const char *name, uns mode, uns buflen) { if (!buflen) return bopen_mm(name, mode);