Made bitpad functions actually return their value
This commit is contained in:
parent
4823c4f3a4
commit
d3e590e4ef
|
@ -17,6 +17,7 @@ u64_t rr_bitpad_lsb(usz_t count)
|
|||
{
|
||||
result |= 1 << index;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
u64_t rr_bitpad_msb(usz_t count)
|
||||
|
@ -26,4 +27,5 @@ u64_t rr_bitpad_msb(usz_t count)
|
|||
{
|
||||
result |= (1 << 63) >> index;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue