Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
mISDNuser
0001-Fix-compile-error-with-newer-gcc-and-a-rea...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-compile-error-with-newer-gcc-and-a-reaL-BUG.patch of Package mISDNuser
From ec4ac2763f737dc9100f9f4f9e91f4d7064a77b2 Mon Sep 17 00:00:00 2001 From: Karsten Keil <keil@b1-systems.de> Date: Mon, 20 May 2013 15:16:19 +0200 Subject: [PATCH] Fix compile error with newer gcc (and a reaL BUG) layer3/q931.c: In function 'mi_encode_hlc': layer3/q931.c:360:3: error: statement with no effect [-Werror=unused-value] ie[1] | 0x80; ^ Thanks to Tobias Powalowski pointing to this issue . --- lib/layer3/q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor