misc: Fix warning about the cast.

This commit is contained in:
Holger Hans Peter Freyther 2011-01-06 13:50:52 +01:00
parent f4152d1025
commit 02d45c00f5
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ static struct mncc_sock_state *g_state;
/* input from CC code into mncc_sock */
void mncc_sock_from_cc(struct gsm_network *net, struct msgb *msg)
{
struct gsm_mncc *mncc_in = msgb_data(msg);
struct gsm_mncc *mncc_in = (struct gsm_mncc *) msgb_data(msg);
int msg_type = mncc_in->msg_type;
/* Check if we currently have a MNCC handler connected */