1
0
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:
Simon Tatham
2001-05-13 14:02:28 +00:00
parent 93e27a40ae
commit fb473cc16c
14 changed files with 79 additions and 71 deletions

View File

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