changes ULONG to UINT32 for 64bit netxduo

This commit is contained in:
2026-04-12 19:02:44 +02:00
parent 91632bcdee
commit 5b8c72cd9d
5 changed files with 31 additions and 28 deletions

View File

@@ -137,11 +137,11 @@ void thread_0_entry(ULONG thread_input)
UINT status;
NX_PACKET* my_packet;
ULONG length;
UINT32 length;
NXD_ADDRESS server_ipv4_address;
NXD_ADDRESS peer_address;
ULONG peer_port;
UINT32 peer_port;
NX_PARAMETER_NOT_USED(thread_input);
@@ -259,7 +259,7 @@ void thread_1_entry(ULONG thread_input)
UINT status;
NX_PACKET* packet_ptr;
ULONG actual_status;
UINT32 actual_status;
NX_PARAMETER_NOT_USED(thread_input);
@@ -331,7 +331,7 @@ void thread_1_entry(ULONG thread_input)
else
{
char buffer[64];
ULONG size;
UINT32 size;
nx_packet_data_extract_offset(packet_ptr, 0, buffer, 64, &size);
buffer[size] = 0;
printf("Received packet %lu with %s\n", thread_1_counter, buffer);