windows: _snprintf expected wrong parameter type in string

This commit is contained in:
Maks Naumov 2013-09-25 13:07:32 +03:00 committed by Ben Noordhuis
parent 0fdd99f02b
commit 68795b7d6f

View File

@ -70,7 +70,7 @@ static void eof_timer_close_cb(uv_handle_t* handle);
static void uv_unique_pipe_name(char* ptr, char* name, size_t size) {
_snprintf(name, size, "\\\\.\\pipe\\uv\\%p-%d", ptr, GetCurrentProcessId());
_snprintf(name, size, "\\\\.\\pipe\\uv\\%p-%u", ptr, GetCurrentProcessId());
}