csn1: Fix warning with -Wmissing-prototypes

Port of wireshark.git 2e52e2ac997ca58caabee3270b5a6c3f96159ff0.

Ported-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: Ic69a75ce3f01cea326139f678b963110e895c356
This commit is contained in:
Anders Broman 2020-01-24 17:35:48 +01:00 committed by Pau Espin Pedrol
parent c515551625
commit 60bf845f25
1 changed files with 1 additions and 1 deletions

View File

@ -1762,7 +1762,7 @@ gint16 csnStreamEncoder(csnStream_t* ar, const CSN_DESCR* pDescr, bitvec *vector
{
//gint16 count = pDescr->i;
guint8 i = 0;
CSN_ChoiceElement_t* pChoice = (CSN_ChoiceElement_t*) pDescr->descr.ptr;
const CSN_ChoiceElement_t* pChoice = (const CSN_ChoiceElement_t*) pDescr->descr.ptr;
pui8 = pui8DATA(data, pDescr->offset);
i = *pui8;