diff options
author | Brad King <brad.king@kitware.com> | 2020-09-23 16:31:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-23 16:32:54 (GMT) |
commit | 7a0506bafe387bfff441c0159b9a3d58f68db177 (patch) | |
tree | 68afab665948f87cced51d9bfb64198db482374c /Utilities/cmlibuv | |
parent | 2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb (diff) | |
download | CMake-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.c | 2 |
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)) { |