From 9443d750280dc2afcb0bb690feb2c2440d2556aa Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 23 May 2007 16:14:47 +0000 Subject: [PATCH] cast git-svn-id: http://svn.openzap.org/svn/openzap/trunk@108 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/isdn/include/Q931.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/openzap/src/isdn/include/Q931.h b/libs/openzap/src/isdn/include/Q931.h index c68f5268a9..da3466a8d0 100644 --- a/libs/openzap/src/isdn/include/Q931.h +++ b/libs/openzap/src/isdn/include/Q931.h @@ -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)]) /*****************************************************************************