if (cp->hwnd) {
ctl = CreateWindowEx(exstyle, wclass, wtext, wstyle,
r.left, r.top, r.right, r.bottom,
- cp->hwnd, (HMENU) wid, hinst, NULL);
+ cp->hwnd, (HMENU)(ULONG_PTR)wid, hinst, NULL);
SendMessage(ctl, WM_SETFONT, cp->font, MAKELPARAM(TRUE, 0));
if (!strcmp(wclass, "LISTBOX")) {
nbuttons = 0;
while (1) {
char *btext = va_arg(ap, char *);
- int bid;
if (!btext)
break;
- bid = va_arg(ap, int);
+ (void) va_arg(ap, int); /* id */
nbuttons++;
}
va_end(ap);
nbuttons = 0;
while (1) {
char *btext = va_arg(ap, char *);
- int bid;
if (!btext)
break;
- bid = va_arg(ap, int);
+ (void) va_arg(ap, int); /* id */
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);
nbuttons = 0;
while (1) {
char *btext = va_arg(ap, char *);
- int bid;
if (!btext)
break;
- bid = va_arg(ap, int);
+ (void) va_arg(ap, int); /* id */
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);