summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-04-18 15:32:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-04-18 15:32:40 +0200
commit7df6c3f00828a021758ec602ed62a5eb5c07e675 (patch)
tree7dad4cede5e100d09fb80031d08e9a6f026ac09c
parent71a94c0ce58c0710abbe4a4a35963a1c1ec18cb9 (diff)
downloadtdedocker-7df6c3f00828a021758ec602ed62a5eb5c07e675.tar.gz
tdedocker-7df6c3f00828a021758ec602ed62a5eb5c07e675.zip
Fix FTBFS due to narrowing Window ID from unsigned long to long.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/tqtraylabel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tqtraylabel.cpp b/src/tqtraylabel.cpp
index 925ffd2..7df1d45 100644
--- a/src/tqtraylabel.cpp
+++ b/src/tqtraylabel.cpp
@@ -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));