Skip to content

Commit f23083b

Browse files
committed
clang format
1 parent 82d5d2a commit f23083b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/iso_alloc_profiler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ INTERNAL_HIDDEN uint64_t _iso_alloc_zone_leak_detector(iso_alloc_zone_t *zone, b
165165
in_use_low &= in_use_low - 1;
166166

167167
int64_t bit_two = GET_BIT(bts, (j + 1));
168-
bit_slot_t bit_slot = (((bitmap_index_t)(i + k)) * BITS_PER_QWORD) + j;
168+
bit_slot_t bit_slot = (((bitmap_index_t) (i + k)) * BITS_PER_QWORD) + j;
169169
const void *leak = (zone->user_pages_start + ((bit_slot >> 1) * zone->chunk_size));
170170

171171
if(bit_two == 1 && (check_canary_no_abort(zone, leak) != ERR)) {

src/iso_alloc_sanity.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ INTERNAL_HIDDEN void _verify_zone(iso_alloc_zone_t *zone) {
137137
while(mask1) {
138138
int j = __builtin_ctzll(mask1);
139139
mask1 &= mask1 - 1;
140-
bit_slot = ((bit_slot_t)(i + 1) << BITS_PER_QWORD_SHIFT) + j;
140+
bit_slot = ((bit_slot_t) (i + 1) << BITS_PER_QWORD_SHIFT) + j;
141141
const void *p = POINTER_FROM_BITSLOT(zone, bit_slot);
142142
check_canary(zone, p);
143143
}

0 commit comments

Comments
 (0)