Fucking integer promotion rules and signed char

This commit is contained in:
Juhani Krekelä 2019-07-03 22:36:20 +03:00
parent c56cf8fe47
commit cf6137c734
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ int main(void) {
}
for(;;) {
char frame[1522]; // 1522 is the largest a 802.3 frame can be
unsigned char frame[1522]; // 1522 is the largest a 802.3 frame can be
errno = 0;
ssize_t frame_length = recv(packet_socket, frame, sizeof(frame), MSG_TRUNC);