mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[vcpkg] Silence warnings on recent clang
This commit is contained in:
parent
511128b1c0
commit
f72b46690a
@ -46,7 +46,11 @@
|
||||
#include <set>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#if defined(_WIN32)
|
||||
#include <sys/timeb.h>
|
||||
#else
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <system_error>
|
||||
#include <thread>
|
||||
|
@ -92,7 +92,7 @@ namespace vcpkg::Metrics
|
||||
{
|
||||
encoded.append("\\\"");
|
||||
}
|
||||
else if (ch < 0x20 || ch >= 0x80)
|
||||
else if (ch < 0x20 || static_cast<unsigned char>(ch) >= 0x80)
|
||||
{
|
||||
// Note: this treats incoming Strings as Latin-1
|
||||
static constexpr const char HEX[16] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user