]> mj.ucw.cz Git - libucw.git/blobdiff - lib/mmap.c
Word length: Set the parameters in library examples.
[libucw.git] / lib / mmap.c
index e2ea6ff6a5dde5cefb5801ee009c5431201d4686..928da4bc176266a694276f93aa102801e4014e08 100644 (file)
@@ -16,7 +16,7 @@
 #include <sys/mman.h>
 
 void *
-mmap_file(const byte *name, unsigned *len, int writeable)
+mmap_file(const char *name, unsigned *len, int writeable)
 {
   int fd = open(name, writeable ? O_RDWR : O_RDONLY);
   struct stat st;