mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-16 02:27:32 -05:00
Placate gcc's `-Wall' warnings.
[originally from svn r1121]
This commit is contained in:
@ -49,7 +49,7 @@ void agent_query(void *in, int inlen, void **out, int *outlen)
|
||||
debug(("hwnd is %p\n", hwnd));
|
||||
if (!hwnd)
|
||||
return;
|
||||
sprintf(mapname, "PageantRequest%08x", GetCurrentThreadId());
|
||||
sprintf(mapname, "PageantRequest%08x", (unsigned)GetCurrentThreadId());
|
||||
filemap = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE,
|
||||
0, AGENT_MAX_MSGLEN, mapname);
|
||||
if (!filemap)
|
||||
|
Reference in New Issue
Block a user