Change in osmo-pcu[master]: csn1: Fix warning with -Wmissing-prototypes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Jan 24 17:37:00 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/17001 )


Change subject: csn1: Fix warning with -Wmissing-prototypes
......................................................................

csn1: Fix warning with -Wmissing-prototypes

Port of wireshark.git 2e52e2ac997ca58caabee3270b5a6c3f96159ff0.

Change-Id: Ic69a75ce3f01cea326139f678b963110e895c356
---
M src/csn1.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/01/17001/1

diff --git a/src/csn1.cpp b/src/csn1.cpp
index 90daee9..67ea8a7 100644
--- a/src/csn1.cpp
+++ b/src/csn1.cpp
@@ -1762,7 +1762,7 @@
       {
         //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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/17001
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ic69a75ce3f01cea326139f678b963110e895c356
Gerrit-Change-Number: 17001
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200124/e5fdcb1e/attachment.htm>


More information about the gerrit-log mailing list