From 7df6c3f00828a021758ec602ed62a5eb5c07e675 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Sun, 18 Apr 2021 15:32:40 +0200
Subject: Fix FTBFS due to narrowing Window ID from unsigned long to long.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 src/tqtraylabel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

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));
 
-- 
cgit v1.2.1