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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user