summaryrefslogtreecommitdiffstats
path: root/src/cal.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
commitfc987674dd92a50687d970b02e072fff19391175 (patch)
tree2f7e08559553d6cf3270830ea370abd1a69b08f9 /src/cal.c
parent62fa041f865cb3593e07b2caa514b61e266e851e (diff)
download0xFFFF-fc987674dd92a50687d970b02e072fff19391175.tar.bz2
all: Code style fixes
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;
}