Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/icewm/icewm-1.3.8-narrowing-casts.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-06 17:06:33 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-06 17:06:33 +0200
commit178ee67b368ce3350487611e9df7eca401978869 (patch)
tree74f03c1c4a62819b8946ce7b4545164e85f8b9ce /extra/icewm/icewm-1.3.8-narrowing-casts.patch
parent6adbfe880afebcbaa813e9c1822a1de10d7326ab (diff)
extra/icewm: added patch for breaking narrowing cast
Diffstat (limited to 'extra/icewm/icewm-1.3.8-narrowing-casts.patch')
-rw-r--r--extra/icewm/icewm-1.3.8-narrowing-casts.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/icewm/icewm-1.3.8-narrowing-casts.patch b/extra/icewm/icewm-1.3.8-narrowing-casts.patch
new file mode 100644
index 00000000..7912d6ae
--- /dev/null
+++ b/extra/icewm/icewm-1.3.8-narrowing-casts.patch
@@ -0,0 +1,21 @@
+diff -rauN icewm-1.3.8/src/icesh.cc icewm-1.3.8-narrowing-casts-patch/src/icesh.cc
+--- icewm-1.3.8/src/icesh.cc 2013-11-17 17:54:39.000000000 +0100
++++ icewm-1.3.8-narrowing-casts-patch/src/icesh.cc 2018-06-06 17:03:27.154963162 +0200
+@@ -245,7 +245,7 @@
+ };
+
+ SymbolTable layers = {
+- layerIdentifiers, 0, WinLayerCount - 1, WinLayerInvalid
++ layerIdentifiers, 0, WinLayerCount - 1, (long int)WinLayerInvalid
+ };
+
+ SymbolTable states = {
+@@ -257,7 +257,7 @@
+ };
+
+ SymbolTable trayOptions = {
+- trayOptionIdentifiers, 0, WinTrayOptionCount - 1, WinTrayInvalid
++ trayOptionIdentifiers, 0, WinTrayOptionCount - 1, (long int)WinTrayInvalid
+ };
+
+ /******************************************************************************/