summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-01-12 19:48:41 +0100
committerGravatar Martin Szulecki2011-01-12 19:48:41 +0100
commit079a3201cb13729ec36a46f124e0500faa5e6771 (patch)
tree9b5457a5e6a5e4ddc6887d82983e7aee925a6986 /src
parent5564cc38ba301a0c128eb0364a58ec8295cb7ebd (diff)
downloadifuse-1.1.1.tar.gz
ifuse-1.1.1.tar.bz2
Fix a few compiler warnings1.1.1
Diffstat (limited to 'src')
-rw-r--r--src/ifuse.c4
1 files 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)