diff --git a/src/fwrite_le.c b/src/fwrite_le.c index 1e6d502..30e7906 100644 --- a/src/fwrite_le.c +++ b/src/fwrite_le.c @@ -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