Avoid using a cast.
git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1665 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
d933b7e7e6
commit
ca0fc1a99d
2
q921.c
2
q921.c
@ -1996,7 +1996,7 @@ static pri_event *__q921_receive(struct pri *pri, q921_h *h, int len)
|
||||
return NULL;
|
||||
|
||||
if ((h->h.sapi == Q921_SAPI_LAYER2_MANAGEMENT)) {
|
||||
return q921_receive_MDL(pri, (q921_u *)h, len);
|
||||
return q921_receive_MDL(pri, &h->u, len);
|
||||
}
|
||||
|
||||
if ((h->h.tei == Q921_TEI_GROUP) && (h->h.sapi != Q921_SAPI_CALL_CTRL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user