<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/17227">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">debug.h: Fix print format of chan in CLOGCHAN<br><br>Under armv7l arch, size_t is actually an unsigned int and not a long<br>unsigned int, and compiler errors:<br><br>CommonLibs/debug.h:28:24: error: format ‘%lu’ expects argument of type<br>‘long unsigned int’, but argument 8 has type ‘size_t {aka unsigned int}’ [-Werror=format=]<br><br>Change-Id: I7f6ded5a984570b5267916d6c84eb7d019db73a8<br>---<br>M CommonLibs/debug.h<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/CommonLibs/debug.h b/CommonLibs/debug.h</span><br><span>index 9f118b5..8d70155 100644</span><br><span>--- a/CommonLibs/debug.h</span><br><span>+++ b/CommonLibs/debug.h</span><br><span>@@ -25,5 +25,5 @@</span><br><span> } while(0)</span><br><span> </span><br><span> #define CLOGCHAN(chan, category, level, fmt, args...) do { \</span><br><span style="color: hsl(0, 100%, 40%);">-       LOGP(category, level, "[tid=%ld][chan=%lu] " fmt, (long int) my_gettid(), chan, ##args);  \</span><br><span style="color: hsl(120, 100%, 40%);">+ LOGP(category, level, "[tid=%ld][chan=%zu] " fmt, (long int) my_gettid(), chan, ##args);  \</span><br><span> } while(0)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/17227">change 17227</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-trx/+/17227"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7f6ded5a984570b5267916d6c84eb7d019db73a8 </div>
<div style="display:none"> Gerrit-Change-Number: 17227 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>