]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_udp.c
reenabled loading plaques (and cleaned up that code a lot)
[xonotic/darkplaces.git] / net_udp.c
index ed5d066e0978e803b9fdba7c8087b3a40fe4d317..9b91330680991ac0b860b9c99b2afa8ab14e4d01 100644 (file)
--- a/net_udp.c
+++ b/net_udp.c
@@ -244,7 +244,7 @@ int UDP_CheckNewConnections (void)
 
 //=============================================================================
 
-int UDP_Read (int socket, byte *buf, int len, struct qsockaddr *addr)
+int UDP_Read (int socket, qbyte *buf, int len, struct qsockaddr *addr)
 {
        int addrlen = sizeof (struct qsockaddr);
        int ret;
@@ -271,7 +271,7 @@ int UDP_MakeSocketBroadcastCapable (int socket)
 
 //=============================================================================
 
-int UDP_Broadcast (int socket, byte *buf, int len)
+int UDP_Broadcast (int socket, qbyte *buf, int len)
 {
        int ret;
 
@@ -292,7 +292,7 @@ int UDP_Broadcast (int socket, byte *buf, int len)
 
 //=============================================================================
 
-int UDP_Write (int socket, byte *buf, int len, struct qsockaddr *addr)
+int UDP_Write (int socket, qbyte *buf, int len, struct qsockaddr *addr)
 {
        int ret;