]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_udp.c
faster static light tracing (by not doing it as often), this also means results of...
[xonotic/darkplaces.git] / net_udp.c
index ed5d066e0978e803b9fdba7c8087b3a40fe4d317..1847185115237293e856ea4ad3df9957d917c0d0 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;
 
@@ -414,4 +414,3 @@ int UDP_SetSocketPort (struct qsockaddr *addr, int port)
        return 0;
 }
 
-//=============================================================================