now that gcc 11's static analyzer looks at array bounds in arguments
like "char ip[4]", let's be more strict about that
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
#include "windoze.h"
|
||||
#include "socket.h"
|
||||
|
||||
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
|
||||
int socket_accept4_makenonblocking(int s,char ip[4],uint16 *port) {
|
||||
return socket_accept4_flags(s,ip,port,SOCKET_CLOEXEC);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user