diff options
Diffstat (limited to 'example/hello_ll.c')
-rw-r--r-- | example/hello_ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c index 9f70865..3a6ea09 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -78,7 +78,7 @@ static void dirbuf_add(struct dirbuf *b, const char *name, fuse_ino_t ino) struct stat stbuf; size_t oldsize = b->size; b->size += fuse_dirent_size(strlen(name)); - b->p = realloc(b->p, b->size); + b->p = (char *) realloc(b->p, b->size); memset(&stbuf, 0, sizeof(stbuf)); stbuf.st_ino = ino; fuse_add_dirent(b->p + oldsize, name, &stbuf, b->size); |