Corrects typing for UINT32, still same size but correct type now

This change is warranted by integrating the wolfssl netxduo sockets
This commit is contained in:
2026-05-06 07:32:31 +01:00
parent 5b8c72cd9d
commit 76398090b3
+4
View File
@@ -57,7 +57,11 @@
#include "nx_user.h"
#endif
#include "tx_port.h"
#if __riscv_xlen == 64
typedef unsigned int UINT32;
#else
typedef unsigned long UINT32;
#endif
_Static_assert(sizeof(UINT32) == 4, "UINT32 must be 4 bytes");
/* Default to little endian, since this is what most RISC-V targets are. */