[Pvfs2-cvs] commit by slang in pvfs2/src/kernel/linux-2.6: dir.c

CVS commit program cvs at parl.clemson.edu
Wed Dec 19 00:37:36 EST 2007


Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv2293/src/kernel/linux-2.6

Modified Files:
	dir.c 
Log Message:
fix for build on powerpc32


Index: dir.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/dir.c,v
diff -p -u -r1.49 -r1.50
--- dir.c	19 Aug 2007 18:20:27 -0000	1.49
+++ dir.c	19 Dec 2007 05:37:36 -0000	1.50
@@ -138,7 +138,7 @@ static int pvfs2_readdir(
     gossip_debug(GOSSIP_DIR_DEBUG, "pvfs2_readdir called on %s (pos=%d)\n",
                  dentry->d_name.name, (int)pos);
 
-    switch (pos)
+    switch ((uint32_t)pos)
     {
 	/*
 	   if we're just starting, populate the "." and ".." entries



More information about the Pvfs2-cvs mailing list