diff options
-rw-r--r-- | tools/src/h5import/h5import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5import/h5import.c b/tools/src/h5import/h5import.c index 3989c29..16c0d8c 100644 --- a/tools/src/h5import/h5import.c +++ b/tools/src/h5import/h5import.c @@ -1670,7 +1670,7 @@ static int processConfigurationFile(char *infile, struct Input *in) } else { /* Dimension */ icount++; - if (icount >+ MAX_NUM_DIMENSION) { + if (icount > MAX_NUM_DIMENSION) { (void) HDfprintf(stderr, "Invalid value for rank.\n"); goto error; } |