mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-20 21:10:16 -08:00
minor fixes
This commit is contained in:
1 parent
2afb78e498
commit
e50cef2bff
2 files changed
+2
-2
No files matched your search
@@ -41,7 +41,7 @@ bit_array_get_bit32(U32Array bit_array, U64 idx)
|
||||
Assert(idx < bit_array.count*32);
|
||||
U64 word_idx = idx / 32;
|
||||
U64 bit_idx = idx % 32;
|
||||
U32 bit = (bit_array.v[word_idx] & (1 << bit_idx)) >> bit_idx;
|
||||
U32 bit = (bit_array.v[word_idx] & (1u << bit_idx)) >> bit_idx;
|
||||
return bit;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user