From 079a3201cb13729ec36a46f124e0500faa5e6771 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 12 Jan 2011 19:48:41 +0100 Subject: Fix a few compiler warnings --- src/ifuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifuse.c b/src/ifuse.c index d94f679..b325e00 100644 --- a/src/ifuse.c +++ b/src/ifuse.c @@ -316,7 +316,7 @@ static int ifuse_create(const char *path, mode_t mode, struct fuse_file_info *fi static int ifuse_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { - int bytes = 0; + uint32_t bytes = 0; afc_client_t afc = fuse_get_context()->private_data; if (size == 0) @@ -339,7 +339,7 @@ static int ifuse_read(const char *path, char *buf, size_t size, off_t offset, st static int ifuse_write(const char *path, const char *buf, size_t size, off_t offset, struct fuse_file_info *fi) { - int bytes = 0; + uint32_t bytes = 0; afc_client_t afc = fuse_get_context()->private_data; if (size == 0) -- cgit v1.1-32-gdbae