Fix FTBFS due to narrowing Window ID from unsigned long to long.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 4 years ago
parent 71a94c0ce5
commit 7df6c3f008
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -254,7 +254,7 @@ void TQTrayLabel::dock(void)
Window wid = winId();
// 1. GNOME and NET WM Specification
long l[5] = { CurrentTime, SYSTEM_TRAY_REQUEST_DOCK, wid, 0, 0 };
unsigned long l[5] = { CurrentTime, SYSTEM_TRAY_REQUEST_DOCK, wid, 0, 0 };
sendMessage(display, mSysTray, mSysTray, "_NET_SYSTEM_TRAY_OPCODE",
32, 0L, l, sizeof(l));

Loading…
Cancel
Save