1
1

Correct the while exit condition.

This commit was SVN r4101.
Этот коммит содержится в:
George Bosilca 2005-01-21 21:00:51 +00:00
родитель cd00fed56b
Коммит 9b7a66ec87

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

@ -131,7 +131,7 @@ int ompi_convertor_create_stack_with_pos_general( ompi_convertor_t* pConvertor,
*/
next_loop:
loop_length = remoteLength[pConvertor->stack_pos];
while( pos_desc >= 0 ) {
while( pos_desc < pConvertor->pStack[0].end_loop ) { /* protect in case when the starting_pos is bigger than the total size */
if( pElems->type == DT_END_LOOP ) { /* end of the current loop */
dt_endloop_desc_t* end_loop = (dt_endloop_desc_t*)pElems;
long extent;