native: Change pointer type casting to uintptr_t

This is necessary to build native target on 64-bit architecture
This commit is contained in:
Michal Gorecki
2023-07-14 12:01:56 +02:00
committed by Szymon Janc
parent 064f050919
commit ef0fb14f99
+1 -1
View File
@@ -165,7 +165,7 @@ ble_phy_rxpdu_copy(uint8_t *dptr, struct os_mbuf *rxpdu)
struct os_mbuf_pkthdr *pkthdr;
/* Better be aligned */
assert(((uint32_t)dptr & 3) == 0);
assert(((uintptr_t)dptr & 3) == 0);
pkthdr = OS_MBUF_PKTHDR(rxpdu);
rem_bytes = pkthdr->omp_len;