[Pvfs2-cvs] commit by vilayann in pvfs2-1/src/proto:
pvfs2-req-proto.h
CVS commit program
cvs at parl.clemson.edu
Tue Aug 15 21:23:19 EDT 2006
Update of /projects/cvsroot/pvfs2-1/src/proto
In directory parlweb1:/tmp/cvs-serv18673/src/proto
Modified Files:
pvfs2-req-proto.h
Log Message:
Fixed a few of the gcc 4.1.x "dereferencing type-punned pointer will break strict-aliasing rules"
warnings
Index: pvfs2-req-proto.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/proto/pvfs2-req-proto.h,v
diff -p -u -r1.142 -r1.143
--- pvfs2-req-proto.h 9 Aug 2006 04:43:50 -0000 1.142
+++ pvfs2-req-proto.h 16 Aug 2006 01:23:19 -0000 1.143
@@ -904,7 +904,7 @@ struct PVFS_servreq_small_io
PVFS_size sizes[SMALL_IO_MAX_SEGMENTS];
PVFS_size total_bytes; /* changed from int32_t */
- void * buffer;
+ char * buffer;
};
#ifdef __PINT_REQPROTO_ENCODE_FUNCS_C
@@ -1007,7 +1007,7 @@ struct PVFS_servresp_small_io
/* for writes, this is the amount written.
* for reads, this is the number of bytes read */
PVFS_size result_size;
- void * buffer;
+ char * buffer;
};
#ifdef __PINT_REQPROTO_ENCODE_FUNCS_C
More information about the Pvfs2-cvs
mailing list