Made bitpad functions actually return their value

This commit is contained in:
Eric-Paul Ickhorn 2023-12-09 21:24:05 +01:00
parent 4823c4f3a4
commit d3e590e4ef
Signed by: epickh
GPG Key ID: F5EBBE013924D95F
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}