<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/21563">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">log2.h: Use uintXX_t instead of kernel specific types<br><br>Change-Id: Ieb872551bdbe514f2c77f9aeb2b9ee42f6573909<br>---<br>M include/osmocom/core/log2.h<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/63/21563/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/core/log2.h b/include/osmocom/core/log2.h</span><br><span>index dfe9d37..adbec5b 100644</span><br><span>--- a/include/osmocom/core/log2.h</span><br><span>+++ b/include/osmocom/core/log2.h</span><br><span>@@ -58,9 +58,9 @@</span><br><span>  * set bit if value is nonzero. The last (most significant) bit is</span><br><span>  * at position 64.</span><br><span>  */</span><br><span style="color: hsl(0, 100%, 40%);">-static __always_inline int fls64(__u64 x)</span><br><span style="color: hsl(120, 100%, 40%);">+static __always_inline int fls64(uint64_t x)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">- __u32 h = x >> 32;</span><br><span style="color: hsl(120, 100%, 40%);">+      uint32_t h = x >> 32;</span><br><span>  if (h)</span><br><span>               return fls(h) + 32;</span><br><span>  return fls(x);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/21563">change 21563</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/+/21563"/><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: Ieb872551bdbe514f2c77f9aeb2b9ee42f6573909 </div>
<div style="display:none"> Gerrit-Change-Number: 21563 </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>