@@ -75,7 +75,7 @@ opal_unpack_homogeneous_contig_function( opal_convertor_t* pConv,
7575 OPAL_PTRDIFF_TYPE initial_displ = pConv -> use_desc -> desc [pConv -> use_desc -> used ].end_loop .first_elem_disp ;
7676
7777 DO_DEBUG ( opal_output ( 0 , "unpack_homogeneous_contig( pBaseBuf %p, iov_count %d )\n" ,
78- pConv -> pBaseBuf , * out_size ); );
78+ ( void * ) pConv -> pBaseBuf , * out_size ); );
7979 if ( stack [1 ].type != opal_datatype_uint1 .id ) {
8080 stack [1 ].count *= opal_datatype_basicDatatypes [stack [1 ].type ]-> size ;
8181 stack [1 ].type = opal_datatype_uint1 .id ;
@@ -92,27 +92,27 @@ opal_unpack_homogeneous_contig_function( opal_convertor_t* pConv,
9292 if ( (OPAL_PTRDIFF_TYPE )pData -> size == extent ) {
9393 user_memory += pConv -> bConverted ;
9494 DO_DEBUG ( opal_output ( 0 , "unpack_homogeneous_contig( user_memory %p, packed_buffer %p length %lu\n" ,
95- user_memory , packed_buffer , (unsigned long )remaining ); );
95+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )remaining ); );
9696
9797 /* contiguous data or basic datatype with count */
9898 OPAL_DATATYPE_SAFEGUARD_POINTER ( user_memory , remaining ,
9999 pConv -> pBaseBuf , pData , pConv -> count );
100100 DO_DEBUG ( opal_output ( 0 , "1. unpack contig dest %p src %p length %lu\n" ,
101- user_memory , packed_buffer , (unsigned long )remaining ); );
101+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )remaining ); );
102102 MEMCPY_CSUM ( user_memory , packed_buffer , remaining , pConv );
103103 } else {
104104 user_memory += stack [0 ].disp + stack [1 ].disp ;
105105
106106 DO_DEBUG ( opal_output ( 0 , "unpack_homogeneous_contig( user_memory %p, packed_buffer %p length %lu\n" ,
107- user_memory , packed_buffer , (unsigned long )remaining ); );
107+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )remaining ); );
108108
109109 length = (0 == pConv -> stack_pos ? 0 : stack [1 ].count ); /* left over from the last unpack */
110110 /* complete the last copy */
111111 if ( (0 != length ) && (length <= remaining ) ) {
112112 OPAL_DATATYPE_SAFEGUARD_POINTER ( user_memory , length , pConv -> pBaseBuf ,
113113 pData , pConv -> count );
114114 DO_DEBUG ( opal_output ( 0 , "2. unpack dest %p src %p length %lu\n" ,
115- user_memory , packed_buffer , (unsigned long )length ); );
115+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )length ); );
116116 MEMCPY_CSUM ( user_memory , packed_buffer , length , pConv );
117117 packed_buffer += length ;
118118 user_memory += (extent - (pData -> size - length ));
@@ -131,7 +131,7 @@ opal_unpack_homogeneous_contig_function( opal_convertor_t* pConv,
131131 OPAL_DATATYPE_SAFEGUARD_POINTER ( user_memory , pData -> size , pConv -> pBaseBuf ,
132132 pData , pConv -> count );
133133 DO_DEBUG ( opal_output ( 0 , "3. unpack dest %p src %p length %lu\n" ,
134- user_memory , packed_buffer , (unsigned long )pData -> size ); );
134+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )pData -> size ); );
135135 MEMCPY_CSUM ( user_memory , packed_buffer , pData -> size , pConv );
136136 packed_buffer += pData -> size ;
137137 user_memory += extent ;
@@ -145,7 +145,7 @@ opal_unpack_homogeneous_contig_function( opal_convertor_t* pConv,
145145 OPAL_DATATYPE_SAFEGUARD_POINTER ( user_memory , remaining , pConv -> pBaseBuf ,
146146 pData , pConv -> count );
147147 DO_DEBUG ( opal_output ( 0 , "4. unpack dest %p src %p length %lu\n" ,
148- user_memory , packed_buffer , (unsigned long )remaining ); );
148+ ( void * ) user_memory , ( void * ) packed_buffer , (unsigned long )remaining ); );
149149 MEMCPY_CSUM ( user_memory , packed_buffer , remaining , pConv );
150150 user_memory += remaining ;
151151 stack [1 ].count -= remaining ;
@@ -188,7 +188,7 @@ opal_unpack_partial_datatype( opal_convertor_t* pConvertor, dt_elem_desc_t* pEle
188188
189189 DO_DEBUG ( opal_output ( 0 , "unpack partial data start %lu end %lu data_length %lu user %p\n"
190190 "\tbConverted %lu total_length %lu count %d\n" ,
191- (unsigned long )start_position , (unsigned long )start_position + length , (unsigned long )data_length , * user_buffer ,
191+ (unsigned long )start_position , (unsigned long )start_position + length , (unsigned long )data_length , ( void * ) * user_buffer ,
192192 (unsigned long )pConvertor -> bConverted , (unsigned long )pConvertor -> local_size , pConvertor -> count ); );
193193
194194 /* Find a byte that is not used in the partial buffer */
@@ -273,7 +273,7 @@ opal_generic_simple_unpack_function( opal_convertor_t* pConvertor,
273273 uint32_t iov_count ;
274274
275275 DO_DEBUG ( opal_output ( 0 , "opal_convertor_generic_simple_unpack( %p, {%p, %lu}, %u )\n" ,
276- (void * )pConvertor , iov [0 ].iov_base , (unsigned long )iov [0 ].iov_len , * out_size ); );
276+ (void * )pConvertor , ( void * ) iov [0 ].iov_base , (unsigned long )iov [0 ].iov_len , * out_size ); );
277277
278278 description = pConvertor -> use_desc -> desc ;
279279
@@ -452,7 +452,7 @@ opal_unpack_general_function( opal_convertor_t* pConvertor,
452452 int32_t rc ;
453453
454454 DO_DEBUG ( opal_output ( 0 , "opal_convertor_general_unpack( %p, {%p, %lu}, %u )\n" ,
455- (void * )pConvertor , iov [0 ].iov_base , (unsigned long )iov [0 ].iov_len , * out_size ); );
455+ (void * )pConvertor , ( void * ) iov [0 ].iov_base , (unsigned long )iov [0 ].iov_len , * out_size ); );
456456
457457 description = pConvertor -> use_desc -> desc ;
458458
@@ -484,8 +484,8 @@ opal_unpack_general_function( opal_convertor_t* pConvertor,
484484 OPAL_DATATYPE_SAFEGUARD_POINTER ( conv_ptr + pElem -> elem .disp , pData -> size , pConvertor -> pBaseBuf ,
485485 pData , pConvertor -> count );
486486 DO_DEBUG ( opal_output ( 0 , "unpack (%p, %ld) -> (%p:%ld, %d, %ld) type %s\n" ,
487- iov_ptr , iov_len_local ,
488- pConvertor -> pBaseBuf , conv_ptr + pElem -> elem .disp - pConvertor -> pBaseBuf ,
487+ ( void * ) iov_ptr , iov_len_local ,
488+ ( void * ) pConvertor -> pBaseBuf , conv_ptr + pElem -> elem .disp - pConvertor -> pBaseBuf ,
489489 count_desc , description [pos_desc ].elem .extent ,
490490 opal_datatype_basicDatatypes [type ]-> name ); );
491491 rc = master -> pFunctions [type ]( pConvertor , count_desc ,
0 commit comments