[PVFS2-CVS] commit by neill in pvfs2/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Thu Sep 16 11:59:16 EDT 2004


Update of /projects/cvsroot/pvfs2/src/apps/kernel/linux
In directory parlweb:/tmp/cvs-serv32234/src/apps/kernel/linux

Modified Files:
	pvfs2-client-core.c 
Log Message:
- fixed 64bit compile warnings (AMD64/Opteron)


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.26 -r1.27
--- pvfs2-client-core.c	13 Sep 2004 20:52:52 -0000	1.26
+++ pvfs2-client-core.c	16 Sep 2004 14:59:16 -0000	1.27
@@ -682,7 +682,7 @@ do {                                    
     gossip_debug(                                                     \
         GOSSIP_CLIENT_DEBUG, "Got Configuration Server: %s "          \
         "(len=%d)\n", mntent.pvfs_config_server,                      \
-        strlen(mntent.pvfs_config_server));                           \
+        (int)strlen(mntent.pvfs_config_server));                      \
                                                                       \
     mntent.pvfs_fs_name = strdup(ptr);                                \
     if (!mntent.pvfs_config_server)                                   \
@@ -693,7 +693,7 @@ do {                                    
                                                                       \
     gossip_debug(                                                     \
         GOSSIP_CLIENT_DEBUG, "Got FS Name: %s (len=%d)\n",            \
-        mntent.pvfs_fs_name, strlen(mntent.pvfs_fs_name));            \
+        mntent.pvfs_fs_name, (int)strlen(mntent.pvfs_fs_name));       \
                                                                       \
     mntent.encoding = ENCODING_DEFAULT;                               \
     mntent.flowproto = FLOWPROTO_DEFAULT;                             \
@@ -958,7 +958,7 @@ static int post_io_request(vfs_request_t
                     " for %d bytes at offset %lu in cache\n",
                     Lu(vfs_request->in_upcall.req.io.refn.handle),
                     vfs_request->in_upcall.req.io.refn.fs_id,
-                    vfs_request->in_upcall.req.io.count,
+                    (int)vfs_request->in_upcall.req.io.count,
                     (unsigned long)vfs_request->in_upcall.req.io.offset);
 
                 val = pvfs2_mmap_ra_cache_get_block(



More information about the PVFS2-CVS mailing list