1
1
This commit was SVN r5492.
Этот коммит содержится в:
George Bosilca 2005-04-22 05:04:52 +00:00
родитель 362b3ab3fa
Коммит 88ca070e88

Просмотреть файл

@ -216,7 +216,7 @@ int ompi_convertor_pack_homogeneous_with_memcpy( ompi_convertor_t* pConv,
int stop_in_loop = 0;
if( pElems[pos_desc].flags & DT_FLAG_CONTIGUOUS ) {
dt_elem_desc_t* pLast = &(pElems[pos_desc + pElems[pos_desc].disp]);
if( (pLast->extent * last_count) > space ) {
if( (pLast->extent * last_count) > (int)space ) {
stop_in_loop = last_count;
last_count = space / pLast->extent;
}
@ -407,7 +407,7 @@ int ompi_convertor_pack_no_conversion( ompi_convertor_t* pConv,
(*freeAfter) |= (1 << iov_pos);
}
/* compute the maximum amount of data to be packed */
if( (pLast->extent * last_count) > space_on_iovec ) {
if( (pLast->extent * last_count) > (int)space_on_iovec ) {
stop_in_loop = last_count;
last_count = space_on_iovec / pLast->extent;
}