[Pvfs2-cvs] commit by mtmoore in pvfs2/src/common/misc: pint-cached-config.c

CVS commit program cvs at parl.clemson.edu
Wed Jun 8 18:52:27 EDT 2011


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv12260/src/common/misc

Modified Files:
      Tag: Orange-Branch
	pint-cached-config.c 
Log Message:
compiler warning cleanup


Index: pint-cached-config.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/pint-cached-config.c,v
diff -p -u -r1.32.10.2 -r1.32.10.3
--- pint-cached-config.c	8 Jun 2011 18:33:00 -0000	1.32.10.2
+++ pint-cached-config.c	8 Jun 2011 22:52:27 -0000	1.32.10.3
@@ -318,7 +318,7 @@ int PINT_cached_config_get_server(
         return(-PVFS_EINVAL);
     }
 
-    if(type != PINT_SERVER_TYPE_META && type != PINT_SERVER_TYPE_IO)
+    if((int)type != PINT_SERVER_TYPE_META && (int)type != PINT_SERVER_TYPE_IO)
     {
         return(-PVFS_EINVAL);
     }
@@ -335,7 +335,7 @@ int PINT_cached_config_get_server(
     assert(cur_config_cache);
     assert(cur_config_cache->fs);
 
-    if(type == PINT_SERVER_TYPE_META)
+    if((int)type == PINT_SERVER_TYPE_META)
     {
         server_cursor = 
             cur_config_cache->fs->meta_handle_ranges;



More information about the Pvfs2-cvs mailing list