Skip to content

Commit

Permalink
Merge remote-tracking branch 'ashn/master' into release-2.0_ashn
Browse files Browse the repository at this point in the history
  • Loading branch information
nathhB committed Sep 20, 2023
2 parents e5b94e7 + ff58b03 commit d14cc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_drivers/udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ static int BindSocket(uint16_t port)
static int ResolveIpAddress(const char *host, uint16_t port, NBN_IPAddress *address)
{
size_t host_len = strlen(host);
char *dup_host = NBN_Allocator(host_len + 1);
char *dup_host = (char*)NBN_Allocator(host_len + 1);
memcpy(dup_host, host, host_len + 1);
uint8_t arr[4];

Expand Down

0 comments on commit d14cc7d

Please sign in to comment.