bit_array: Fix initial size.

This commit is contained in:
Jeroen van Rijn
2022-01-25 17:08:32 +01:00
parent 65f8722afc
commit 515fd2a228

View File

@@ -88,7 +88,7 @@ create :: proc(max_index: int, min_index := 0, allocator := context.allocator) -
res = Bit_Array{
bias = min_index,
}
return res, resize_if_needed(&res, size_in_bits)
return res, resize_if_needed(&res, legs)
}
/*