Skip to content

Commit 155be7d

Browse files
committed
cleanup.
1 parent 060c331 commit 155be7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/fast_float/float_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ fastfloat_strncasecmp5(UC const *actual_mixedcase,
378378
}
379379
}
380380
} else {
381-
uint64_t val1{0}, val2{0};
381+
uint64_t val1{0}, val2{0};
382382
FASTFLOAT_IF_CONSTEXPR17(sizeof(UC) == 1) {
383383
constexpr uint64_t mask = 0x2020202020202020;
384384
std::memcpy(&val1, actual_mixedcase, 5 * sizeof(UC));
@@ -442,7 +442,7 @@ fastfloat_strncasecmp(UC const *actual_mixedcase, UC const *expected_lowercase,
442442
constexpr uint_fast8_t sz{8 / (sizeof(UC))};
443443
for (uint_fast8_t i = 0; i < length; i += sz) {
444444
val1 = val2 = 0;
445-
sz = std::min(sz, uint_fast8_t(length - i));
445+
sz = std::min(sz, static_cast<uint_fast8_t>(length - i));
446446
std::memcpy(&val1, actual_mixedcase + i, sz * sizeof(UC));
447447
std::memcpy(&val2, expected_lowercase + i, sz * sizeof(UC));
448448
val1 |= mask;

0 commit comments

Comments
 (0)