fix sign-compare warning (#3479)

pull/3486/head
Aleksandr 1 month ago committed by GitHub
parent dd3ca04a7a
commit 3f7e502859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -489,7 +489,7 @@ SPDLOG_INLINE void utf8_to_wstrbuf(string_view_t str, wmemory_buf_t &target) {
result_size =
::MultiByteToWideChar(CP_UTF8, 0, str.data(), str_size, target.data(), result_size);
if (result_size > 0) {
assert(result_size == target.size());
assert(result_size == static_cast<int>(target.size()));
return;
}
}

Loading…
Cancel
Save