Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
bsd-games
bsd-games-2.17-strictaliasing.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsd-games-2.17-strictaliasing.diff of Package bsd-games
--- bsd-games-2.17/hunt/hunt/hunt.c +++ bsd-games-2.17/hunt/hunt/hunt.c @@ -383,7 +383,7 @@ int broadcast_vec(s, vector) int s; /* socket */ - struct sockaddr **vector; + SOCKET **vector; { int vec_cnt; struct ifaddrs *ifp, *ip; @@ -398,7 +398,7 @@ (ip->ifa_flags & IFF_BROADCAST)) vec_cnt++; - *vector = (struct sockaddr *) + *vector = (SOCKET *) malloc(vec_cnt * sizeof(struct sockaddr_in)); if (*vector == NULL) leave(1, "Out of memory!"); --- bsd-games-2.17/hunt/huntd/hunt.h +++ bsd-games-2.17/hunt/huntd/hunt.h @@ -420,7 +420,7 @@ int answer(void); void bad_con(void) __attribute__((__noreturn__)); void bad_ver(void) __attribute__((__noreturn__)); -int broadcast_vec(int, struct sockaddr **); +int broadcast_vec(int, SOCKET **); void ce(PLAYER *); void cgoto(PLAYER *, int, int); void check(PLAYER *, int, int);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor