summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-10-16 18:59:20 +0200
committerHarald Welte <laforge@gnumonks.org>2011-10-16 18:59:20 +0200
commit066a0f5c0b294f634b1bd045d1a939d7b7f38e7c (patch)
treed45f40f5597bde654cb7048ae44b074f43eba5e0
parent2b697a667131740a113b82b22db2616733318033 (diff)
GPRS LLC: fix compiler warning
-rw-r--r--openbsc/src/gprs/gprs_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c
index 83db28c74..77fa879ca 100644
--- a/openbsc/src/gprs/gprs_llc.c
+++ b/openbsc/src/gprs/gprs_llc.c
@@ -896,7 +896,7 @@ int gprs_llgmm_reset(struct gprs_llc_llme *llme)
/* First XID component must be RESET */
msgb_put_xid_par(msg, GPRS_LLC_XID_T_RESET, 0, NULL);
/* randomly select new IOV-UI */
- msgb_put_xid_par(msg, GPRS_LLC_XID_T_IOV_UI, 4, &random);
+ msgb_put_xid_par(msg, GPRS_LLC_XID_T_IOV_UI, 4, (uint8_t *) &random);
/* FIXME: Start T200, wait for XID response */
return gprs_llc_tx_xid(&llme->lle[1], msg, 1);