fwrite_le.c: remove premature optimization

This commit is contained in:
Intel A80486DX2-66 2024-01-21 13:29:34 +03:00
parent bd02f2b6a6
commit c81054b6f6
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ void reorder_le_for_be(
#endif
size_t count, size_t step) {
for (size_t i = 0; i < count; i += step) {
const size_t div_size = step >> 1; // divide by 2
const size_t div_size = step / 2;
for (size_t j = 0; j < div_size; j++) {
const size_t old_pos = i + j, new_pos = i + step - j - 1;
#if FWRITE_LE_NO_MODIFICATION