aboutsummaryrefslogtreecommitdiff
path: root/example/hello_ll.c
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-03 09:11:06 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2005-08-03 09:11:06 +0000
commitf6e0ec6e2df64ce90e3a52a3e636f3ffb5c38927 (patch)
treed1187895079752b51f2bbdba465bd1aac5e65a09 /example/hello_ll.c
parent6c0209a8c78c82800a43c29a5dcccf872bfa613e (diff)
fix
Diffstat (limited to 'example/hello_ll.c')
-rw-r--r--example/hello_ll.c2
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);