chiark / gitweb /
allow rules to be compiled to one binary file
[elogind.git] / udev_utils.c
index 64a7ba9caae0929356584acf1217f897fc43078e..c35b287881a060633f65e530abdf9390c0a48f69 100644 (file)
@@ -247,7 +247,7 @@ int file_map(const char *filename, char **buf, size_t *bufsize)
        return 0;
 }
 
-void file_unmap(char *buf, size_t bufsize)
+void file_unmap(void *buf, size_t bufsize)
 {
        munmap(buf, bufsize);
 }