diff options
| author | gingerBill <bill@gingerbill.org> | 2022-01-25 16:40:31 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-01-25 16:40:31 +0000 |
| commit | cb6a4ebf60aa33dd1134ca88ecfb0ece05a2d98b (patch) | |
| tree | 5917bb70016f50f4b4feeac0b916e33d24adaa64 /core/container/bit_array/bit_array.odin | |
| parent | 1bf8328606ba83f943eb2568c89dab38b0b1dd94 (diff) | |
| parent | 6a7f39453b930abc205253e7bf4ef4fe66a21da6 (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'core/container/bit_array/bit_array.odin')
| -rw-r--r-- | core/container/bit_array/bit_array.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/container/bit_array/bit_array.odin b/core/container/bit_array/bit_array.odin index 61f6f86e8..0fa80c623 100644 --- a/core/container/bit_array/bit_array.odin +++ b/core/container/bit_array/bit_array.odin @@ -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) } /* |