<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Miklos Szeredi &lt;miklos@szeredi.hu&gt;

This patch fixes a couple of warnings when compiling on the x86_64
architecture.

Signed-off-by: Miklos Szeredi &lt;miklos@szeredi.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 fs/fuse/file.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN fs/fuse/file.c~fuse-direct-i-o-fix-warning-on-x86_64 fs/fuse/file.c
--- 25/fs/fuse/file.c~fuse-direct-i-o-fix-warning-on-x86_64	2005-04-26 04:11:13.028936032 -0700
+++ 25-akpm/fs/fuse/file.c	2005-04-26 04:11:13.033935272 -0700
@@ -406,7 +406,7 @@ static ssize_t fuse_direct_io(struct fil
 {
 	struct inode *inode = file-&gt;f_dentry-&gt;d_inode;
 	struct fuse_conn *fc = get_fuse_conn(inode);
-	unsigned nmax = write ? fc-&gt;max_write : fc-&gt;max_read;
+	size_t nmax = write ? fc-&gt;max_write : fc-&gt;max_read;
 	loff_t pos = *ppos;
 	ssize_t res = 0;
 	struct fuse_req *req = fuse_get_request(fc);
@@ -414,8 +414,8 @@ static ssize_t fuse_direct_io(struct fil
 		return -ERESTARTSYS;
 
 	while (count) {
-		unsigned tmp;
-		unsigned nres;
+		size_t tmp;
+		size_t nres;
 		size_t nbytes = min(count, nmax);
 		int err = fuse_get_user_pages(req, buf, nbytes, !write);
 		if (err) {
_
</pre></body></html>