<p></p>
<p>The problem I had turned out to be cruft from old builds in my buildroot :)</p>
<p>Anyway, meantime I got some extra feedback from musl mailing list ([1]). Basically what you also said, use "lld" and cast. So I changed the commits to do that. But I did keep the definition (although I renamed it as per your suggestion).</p>
<p>And then the scan issue. When I compiled for a 64 bit target I got a warning there. So I looked around and found a solution here ([2]). So I went with this in the nat_traversal module. Please verify.</p>
<p>I run-tested it, but honestly that may not mean much.</p>
<pre><code>opkg list-installed|grep kamailio
kamailio - 5.5.2-1
kamailio-mod-ctl - 5.5.2-1
kamailio-mod-db-sqlite - 5.5.2-1
kamailio-mod-dialplan - 5.5.2-1
kamailio-mod-jsonrpcs - 5.5.2-1
kamailio-mod-maxfwd - 5.5.2-1
kamailio-mod-path - 5.5.2-1
kamailio-mod-permissions - 5.5.2-1
kamailio-mod-pv - 5.5.2-1
kamailio-mod-rr - 5.5.2-1
kamailio-mod-rtpproxy - 5.5.2-1
kamailio-mod-sanity - 5.5.2-1
kamailio-mod-sipdump - 5.5.2-1
kamailio-mod-siputils - 5.5.2-1
kamailio-mod-sl - 5.5.2-1
kamailio-mod-textops - 5.5.2-1
kamailio-mod-textopsx - 5.5.2-1
kamailio-mod-tm - 5.5.2-1
kamailio-mod-tmx - 5.5.2-1
kamailio-mod-xlog - 5.5.2-1
</code></pre>
<p>So I'm not using any of the modules that I patch I'm afraid :/</p>
<p>[1] <a href="https://www.openwall.com/lists/musl/2021/10/27/3" rel="nofollow">https://www.openwall.com/lists/musl/2021/10/27/3</a><br>
[2] <a href="https://stackoverflow.com/questions/4171478/how-to-read-data-into-a-time-t-variable-using-scanf" rel="nofollow">https://stackoverflow.com/questions/4171478/how-to-read-data-into-a-time-t-variable-using-scanf</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2894#issuecomment-955792884">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMHTXTVBU2JXAPAWFTUJWWZRANCNFSM5GRDMKEA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZPFZUF3B2G7QGKD353UJWWZRA5CNFSM5GRDMKEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHD4D35A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2894#issuecomment-955792884",
"url": "https://github.com/kamailio/kamailio/pull/2894#issuecomment-955792884",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>