Skip to content

Commit c9ec7d2

Browse files
committed
my brain is mush
1 parent f63326e commit c9ec7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netcode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ void netcode_socket_set_qos( struct netcode_socket_t * socket, struct netcode_ad
745745
}
746746
socket_address.sin6_port = htons( to->port );
747747

748-
sockaddr_storage addr;
748+
struct sockaddr_storage addr;
749749
memcpy( (char*) &addr, (char*) &socket_address, sizeof(socket_address) );
750750

751751
if ( netcode_set_socket_codepoint( socket->handle, QOSTrafficTypeAudioVideo, 0, &addr ) != 0 )
@@ -766,7 +766,7 @@ void netcode_socket_set_qos( struct netcode_socket_t * socket, struct netcode_ad
766766
( ( (uint32_t) to->data.ipv4[3] ) << 24 );
767767
socket_address.sin_port = htons( to->port );
768768

769-
sockaddr_storage addr;
769+
struct sockaddr_storage addr;
770770
memcpy( (char*) &addr, (char*) &socket_address, sizeof(socket_address) );
771771

772772
if ( netcode_set_socket_codepoint( socket->handle, QOSTrafficTypeAudioVideo, 0, &addr ) != 0 )

0 commit comments

Comments
 (0)