summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpsrinex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsrinex.c b/gpsrinex.c
index 6112fe31..cf59a18a 100644
--- a/gpsrinex.c
+++ b/gpsrinex.c
@@ -342,7 +342,7 @@ static void print_rinex_header(void)
/* done */
break;
}
- for (j = 0; j <= CODEMAX; j++) {
+ for (j = 0; j < CODEMAX; j++) {
cnt += obs_cnt[i].obs_cnts[j];
}
if (0 > cnt) {