X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/af282e3b62c5113c046a9ef88ff1f36f24e0b04f..cdcbdf3b83c8a1e4db0b149e818cd24e3596cf2c:/winctrls.c diff --git a/winctrls.c b/winctrls.c index 61821c31..de4812c7 100644 --- a/winctrls.c +++ b/winctrls.c @@ -159,7 +159,6 @@ void multiedit(struct ctlpos *cp, ...) void dropdownlist(struct ctlpos *cp, char *text, int staticid, int listid) { RECT r; - va_list ap; r.left = GAPBETWEEN; r.right = cp->width; @@ -995,7 +994,7 @@ int handle_prefslist(struct prefslist *hdl, if (is_dlmsg) { - if (wParam == hdl->listid) { + if ((int)wParam == hdl->listid) { DRAGLISTINFO *dlm = (DRAGLISTINFO *)lParam; int dest; switch (dlm->uNotification) {