[x86_64] Fix assorted 64-bit compilation errors and warnings
Remove various 32-bit assumptions scattered throughout the codebase. The code is still not necessarily 64-bit clean, but will at least compile.
This commit is contained in:
+3
-2
@@ -438,12 +438,13 @@ static struct xfer_interface_operations udp_xfer_operations = {
|
||||
|
||||
/** UDP socket opener */
|
||||
struct socket_opener udp_socket_opener __socket_opener = {
|
||||
.semantics = SOCK_DGRAM,
|
||||
.semantics = UDP_SOCK_DGRAM,
|
||||
.family = AF_INET,
|
||||
.open = udp_open,
|
||||
};
|
||||
|
||||
char UDP_SOCK_DGRAM[1];
|
||||
/** Linkage hack */
|
||||
int udp_sock_dgram = UDP_SOCK_DGRAM;
|
||||
|
||||
/**
|
||||
* Open UDP URI
|
||||
|
||||
Reference in New Issue
Block a user