~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop `pterm -ut-' leaving the unnecessary utmp helper as a zombie
[sgt/putty]
/
pageantc.c
diff --git
a/pageantc.c
b/pageantc.c
index
82cfb20
..
384abe2
100644
(file)
--- a/
pageantc.c
+++ b/
pageantc.c
@@
-49,7
+49,7
@@
void agent_query(void *in, int inlen, void **out, int *outlen)
debug(("hwnd is %p\n", hwnd));
if (!hwnd)
return;
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)
filemap = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE,
0, AGENT_MAX_MSGLEN, mapname);
if (!filemap)