ftmod_libpri: While we're at it, drop the cast too

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
This commit is contained in:
Stefan Knoblich 2010-11-11 22:21:18 +01:00
parent e0961aee3a
commit 1e777c2ce9

View File

@ -1187,7 +1187,7 @@ static int handle_facility_aoc_e(const struct pri_subcmd_aoc_e *aoc_e)
*/
static int on_facility(lpwrap_pri_t *spri, lpwrap_pri_event_t event_type, pri_event *pevent)
{
struct pri_event_facility *pfac = (struct pri_event_facility *)&pevent->facility;
struct pri_event_facility *pfac = &pevent->facility;
int i = 0;
if (!pevent)