summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-23 16:31:55 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-23 16:32:54 (GMT)
commit7a0506bafe387bfff441c0159b9a3d58f68db177 (patch)
tree68afab665948f87cced51d9bfb64198db482374c /Utilities/cmlibuv
parent2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb (diff)
downloadCMake-7a0506bafe387bfff441c0159b9a3d58f68db177.zip
CMake-7a0506bafe387bfff441c0159b9a3d58f68db177.tar.gz
CMake-7a0506bafe387bfff441c0159b9a3d58f68db177.tar.bz2
libuv: Suppress conversion warning on Windows
Add a cast to avoid the conversion warning with minimal changes to third-party code.
Diffstat (limited to 'Utilities/cmlibuv')
-rw-r--r--Utilities/cmlibuv/src/win/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/win/fs.c b/Utilities/cmlibuv/src/win/fs.c
index 8a80174..d6ff7ed 100644
--- a/Utilities/cmlibuv/src/win/fs.c
+++ b/Utilities/cmlibuv/src/win/fs.c
@@ -1243,7 +1243,7 @@ void fs__mktemp(uv_fs_t* req, uv__fs_mktemp_func func) {
uint64_t v;
char* path;
- path = req->path;
+ path = (char*)req->path;
len = wcslen(req->file.pathw);
ep = req->file.pathw + len;
if (len < num_x || wcsncmp(ep - num_x, L"XXXXXX", num_x)) {