[libpri-commits] rmudgett: branch 1.4 r1665 - /branches/1.4/q921.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Mon Apr 26 11:59:08 CDT 2010
Author: rmudgett
Date: Mon Apr 26 11:59:05 2010
New Revision: 1665
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1665
Log:
Avoid using a cast.
Modified:
branches/1.4/q921.c
Modified: branches/1.4/q921.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q921.c?view=diff&rev=1665&r1=1664&r2=1665
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Mon Apr 26 11:59:05 2010
@@ -1996,7 +1996,7 @@
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)) {
More information about the libpri-commits
mailing list