]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
cast
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 May 2007 16:14:47 +0000 (16:14 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 23 May 2007 16:14:47 +0000 (16:14 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@108 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/src/isdn/include/Q931.h

index c68f5268a9ba88d423e7822d3314696c26e691ab..da3466a8d01eb2d3855cc15ea12a41fbf9f1cafd 100644 (file)
@@ -1881,6 +1881,7 @@ typedef struct
     L3INT           CRV;            /* Call reference value                 */
     ie              ChanID;         /* Channel identification               */
     ie              Display;        /* Display                              */
+    ie              RestartWin;     /* Restart Window                       */
     ie              RestartInd;     /* Restart indicator                    */
     L3UCHAR         buf[1];         /* Dynamic buffer                       */
 }Q931mes_Restart;
@@ -2127,7 +2128,7 @@ extern L3INT (*Q931Pie   [Q931MAXDLCT][Q931MAXIE] )   (Q931_TrunkInfo_t *pTrunk,
   Description:  Compute a Ptr to the information element.
 
 *****************************************************************************/
-#define Q931GetIEPtr(ie,buf) (&buf[Q931GetIEOffset(ie)])
+#define Q931GetIEPtr(ie,buf) ((void *)&buf[Q931GetIEOffset(ie)])
 
 /*****************************************************************************