1
1

Add a decrement to the loop, lest it loop forever.

This commit was SVN r20605.
Этот коммит содержится в:
Jeff Squyres 2009-02-20 02:58:52 +00:00
родитель 5dc4a2b1e0
Коммит 28f1c995ae

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

@ -186,7 +186,7 @@
} while (0)
# define OMPI_ARRAY_INT_2_LOGICAL(in, n) do { \
int converted_n = (int)(n); \
while (converted_n >= 0) { \
while (--converted_n >= 0) { \
in[converted_n]=OMPI_INT_2_LOGICAL(OMPI_LOGICAL_ARRAY_NAME_CONVERT(in)[converted_n]); \
} \
} while (0) \