<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19757">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BSC_Tests: Fix compiler warnings about inadequate template restrictions<br><br>Change-Id: I3e6e724d563993202611e73b525d5d6769bb5460<br>---<br>M bsc/BSC_Tests.ttcn<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/57/19757/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn</span><br><span>index 003df49..0e76476 100644</span><br><span>--- a/bsc/BSC_Tests.ttcn</span><br><span>+++ b/bsc/BSC_Tests.ttcn</span><br><span>@@ -136,7 +136,7 @@</span><br><span>                  meas_bw := meas_bw);</span><br><span> </span><br><span> /* tr_EUTRAN_NeighbourCells with defaults used in BSC_Tests.ttcn */</span><br><span style="color: hsl(0, 100%, 40%);">-template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default },</span><br><span style="color: hsl(120, 100%, 40%);">+template EUTRAN_NeighbourCells tr_EUTRAN_NeighbourCells_default(template (present) EUTRAN_CellDescs cell_desc_list := { tr_EUTRAN_CellDesc_default },</span><br><span>                                                              template uint3_t prio := 3,</span><br><span>                                                          template (present) uint5_t thresh_high := 20,</span><br><span>                                                                template uint5_t thresh_low := 10,</span><br><span>@@ -978,7 +978,7 @@</span><br><span> }</span><br><span> </span><br><span> /* expect to receive a RSL message matching a specified template on a given BTS / stream */</span><br><span style="color: hsl(0, 100%, 40%);">-function f_exp_ipa_rx(integer bts_nr, template RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)</span><br><span style="color: hsl(120, 100%, 40%);">+function f_exp_ipa_rx(integer bts_nr, template (present) RSL_Message t_rx, float t_secs := 2.0, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)</span><br><span> runs on test_CT return RSL_Message {</span><br><span>       var ASP_RSL_Unitdata rx_rsl_ud;</span><br><span>      timer T := t_secs;</span><br><span>@@ -998,7 +998,7 @@</span><br><span> }</span><br><span> </span><br><span> /* helper function to transmit RSL on a given BTS/stream */</span><br><span style="color: hsl(0, 100%, 40%);">-function f_ipa_tx(integer bts_nr, template RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)</span><br><span style="color: hsl(120, 100%, 40%);">+function f_ipa_tx(integer bts_nr, template (value) RSL_Message t_tx, IpaStreamId sid := IPAC_PROTO_RSL_TRX0)</span><br><span> runs on test_CT {</span><br><span>      IPA_RSL[bts_nr].send(ts_ASP_RSL_UD(t_tx, sid));</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19757">change 19757</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19757"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3e6e724d563993202611e73b525d5d6769bb5460 </div>
<div style="display:none"> Gerrit-Change-Number: 19757 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>