We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da2f9e4 commit fe07660Copy full SHA for fe07660
1 file changed
httplib.h
@@ -2271,7 +2271,7 @@ inline std::wstring u8string_to_wstring(const char *s) {
2271
wlen = ::MultiByteToWideChar(
2272
CP_UTF8, 0, s, len,
2273
const_cast<LPWSTR>(reinterpret_cast<LPCWSTR>(ws.data())), wlen);
2274
- if (wlen != ws.size()) { ws.clear(); }
+ if (wlen != static_cast<int>(ws.size())) { ws.clear(); }
2275
}
2276
return ws;
2277
0 commit comments