diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-01-23 16:07:02 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-01-23 16:07:02 +0100 |
commit | fc987674dd92a50687d970b02e072fff19391175 (patch) | |
tree | 2f7e08559553d6cf3270830ea370abd1a69b08f9 /src/cal.c | |
parent | 62fa041f865cb3593e07b2caa514b61e266e851e (diff) | |
download | 0xFFFF-fc987674dd92a50687d970b02e072fff19391175.tar.bz2 |
all: Code style fixes
Diffstat (limited to 'src/cal.c')
-rw-r--r-- | src/cal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |