From 6673a6222572293a471c3dd0609217f1597cd297 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 26 Apr 2005 05:28:50 +0000 Subject: [PATCH] It does not really make any difference but at least it will keep some compilers quiet. This commit was SVN r5504. --- src/datatype/fake_stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datatype/fake_stack.c b/src/datatype/fake_stack.c index 4ea8462f95..3652e89d79 100644 --- a/src/datatype/fake_stack.c +++ b/src/datatype/fake_stack.c @@ -264,7 +264,7 @@ int ompi_convertor_create_stack_with_pos_general( ompi_convertor_t* pConvertor, /* if we are embedded in another loop we should update it's length too */ pStack--; pConvertor->stack_pos--; - if( pConvertor->stack_pos >= 0 ) { + if( pConvertor->stack_pos > 0 ) { remoteLength[pConvertor->stack_pos] += remoteLength[pConvertor->stack_pos + 1]; } pos_desc++;