summaryrefslogtreecommitdiffstats
path: root/src/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cal.c')
-rw-r--r--src/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cal.c b/src/cal.c
index 102ffab..60a2de1 100644
--- a/src/cal.c
+++ b/src/cal.c
@@ -224,10 +224,10 @@ static int64_t find_section(void *start, uint64_t count, int want_index, const c
memcpy(sectname, hdr->name, sizeof(hdr->name));
if ( want_index == INDEX_LAST ) {
- if ((int)hdr->index <= previous_index)
+ if ( (int)hdr->index <= previous_index )
goto next;
} else {
- if (want_index >= 0 && want_index != hdr->index)
+ if ( want_index >= 0 && want_index != hdr->index )
goto next;
}