summaryrefslogtreecommitdiff
path: root/extra/misdnuser/fix-compile-gcc48.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
committerroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
commite3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (patch)
treeb3e36d93c34b5b08544b1698462c06fdb99560b8 /extra/misdnuser/fix-compile-gcc48.patch
parent383955a81810f344e11b1472bd4c5069fa77020c (diff)
Tue May 21 00:28:39 PDT 2013
Diffstat (limited to 'extra/misdnuser/fix-compile-gcc48.patch')
-rw-r--r--extra/misdnuser/fix-compile-gcc48.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/misdnuser/fix-compile-gcc48.patch b/extra/misdnuser/fix-compile-gcc48.patch
new file mode 100644
index 000000000..61f52d22e
--- /dev/null
+++ b/extra/misdnuser/fix-compile-gcc48.patch
@@ -0,0 +1,15 @@
+X-Git-Url: http://misdn.eu/?p=projects%2FmISDNuser.git;a=blobdiff_plain;f=lib%2Flayer3%2Fq931.c;h=75716fe121a48a3c62fb785af85d856a688889bf;hp=705caf3e167bb5c50828c464151fcfe49af89e64;hb=ec4ac2763f737dc9100f9f4f9e91f4d7064a77b2;hpb=1dc4c24d27ed9c46e2fdbf7fb4b178e549a58e8d
+
+diff --git a/lib/layer3/q931.c b/lib/layer3/q931.c
+index 705caf3..75716fe 100644
+--- a/lib/layer3/q931.c
++++ b/lib/layer3/q931.c
+@@ -357,7 +357,7 @@ mi_encode_hlc(struct l3_msg *l3m, int hlc, int ehlc)
+ ie[1] = hlc & 0x7f;
+
+ if (ehlc < 0)
+- ie[1] | 0x80;
++ ie[1] |= 0x80;
+ else {
+ l = 3;
+ ie[2] = 0x80 | (ehlc & 0x7f);