libuv: Suppress conversion warning on Windows

Add a cast to avoid the conversion warning with minimal changes to
third-party code.
This commit is contained in:
Brad King
2020-09-23 12:31:55 -04:00
parent 2269ad6a0a
commit 7a0506bafe

View File

@@ -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)) {