[Pvfs2-cvs] commit by pw in pvfs2/src/kernel/linux-2.6:
pvfs2-bufmap.c
CVS commit program
cvs at parl.clemson.edu
Tue Dec 5 18:21:25 EST 2006
Update of /projects/cvsroot/pvfs2/src/kernel/linux-2.6
In directory parlweb1:/tmp/cvs-serv3273/src/kernel/linux-2.6
Modified Files:
pvfs2-bufmap.c
Log Message:
quiet some warnings
Index: pvfs2-bufmap.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/kernel/linux-2.6/pvfs2-bufmap.c,v
diff -u -p -p -u -r1.48 -r1.49
--- pvfs2-bufmap.c 4 Dec 2006 06:18:25 -0000 1.48
+++ pvfs2-bufmap.c 5 Dec 2006 23:21:25 -0000 1.49
@@ -55,7 +55,7 @@ static int initialize_bufmap_descriptors
if (buffer_index_array == NULL)
{
gossip_err("pvfs2: could not allocate %d bytes\n",
- ndescs * sizeof(int));
+ (int) (ndescs * sizeof(int)));
goto out;
}
memset(buffer_index_array, 0, ndescs * sizeof(int));
@@ -66,7 +66,7 @@ static int initialize_bufmap_descriptors
if (desc_array == NULL)
{
gossip_err("pvfs2: could not allocate %d bytes\n",
- ndescs * sizeof(struct pvfs_bufmap_desc));
+ (int) (ndescs * sizeof(struct pvfs_bufmap_desc)));
goto out1;
}
err = 0;
More information about the Pvfs2-cvs
mailing list