<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: David Howells &lt;dhowells@redhat.com&gt;

Make fdtable::max_fds unsigned to avoid -Wsign-compare complaining about
fcheck_files().

Signed-Off-By: David Howells &lt;dhowells@redhat.com&gt;
Cc: Dipankar Sarma &lt;dipankar@in.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 include/linux/file.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/file.h~files-break-up-files-struct-warning-fix include/linux/file.h
--- 25/include/linux/file.h~files-break-up-files-struct-warning-fix	Wed Jul  6 13:32:50 2005
+++ 25-akpm/include/linux/file.h	Wed Jul  6 13:32:56 2005
@@ -17,7 +17,7 @@
 #define NR_OPEN_DEFAULT BITS_PER_LONG
 
 struct fdtable {
-	int max_fds;
+	unsigned int max_fds;
 	int max_fdset;
 	int next_fd;
 	struct file ** fd;      /* current fd array */
_
</pre></body></html>