<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/17684">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests/coding: cosmetic: use ARRAY_SIZE() macro from utils.h<br><br>Change-Id: Ie6278d84d405f073669e607f978ca5b187bcf78e<br>---<br>M tests/coding/coding_test.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/84/17684/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/coding/coding_test.c b/tests/coding/coding_test.c</span><br><span>index 4224505..2d7fa47 100644</span><br><span>--- a/tests/coding/coding_test.c</span><br><span>+++ b/tests/coding/coding_test.c</span><br><span>@@ -422,8 +422,8 @@</span><br><span> {</span><br><span>     int i, len_l2, len_mb;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-      len_l2 = sizeof(test_l2) / sizeof(test_l2[0]);</span><br><span style="color: hsl(0, 100%, 40%);">-  len_mb = sizeof(test_macblock) / sizeof(test_macblock[0]);</span><br><span style="color: hsl(120, 100%, 40%);">+    len_l2 = ARRAY_SIZE(test_l2);</span><br><span style="color: hsl(120, 100%, 40%);">+ len_mb = ARRAY_SIZE(test_macblock);</span><br><span> </span><br><span>      for (i = 0; i < len_l2; i++)</span><br><span>              test_xcch(test_l2[i]);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/17684">change 17684</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/libosmocore/+/17684"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie6278d84d405f073669e607f978ca5b187bcf78e </div>
<div style="display:none"> Gerrit-Change-Number: 17684 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>