yhirose 1 년 전
부모
커밋
fe07660f40
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -2271,7 +2271,7 @@ inline std::wstring u8string_to_wstring(const char *s) {
     wlen = ::MultiByteToWideChar(
         CP_UTF8, 0, s, len,
         const_cast<LPWSTR>(reinterpret_cast<LPCWSTR>(ws.data())), wlen);
-    if (wlen != ws.size()) { ws.clear(); }
+    if (wlen != static_cast<int>(ws.size())) { ws.clear(); }
   }
   return ws;
 }