]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_wipx.c
renamed byte to qbyte throughout engine to eliminate a mingw conflict
[xonotic/darkplaces.git] / net_wipx.c
index 20f550a47da992709ce041b595321a90766d4649..bf53adb5a7ceceb0083e6bab6fcdce3bc63737f7 100644 (file)
@@ -230,9 +230,9 @@ int WIPX_CheckNewConnections (void)
 
 //=============================================================================
 
-static byte packetBuffer[NET_DATAGRAMSIZE + 4];
+static qbyte packetBuffer[NET_DATAGRAMSIZE + 4];
 
-int WIPX_Read (int handle, byte *buf, int len, struct qsockaddr *addr)
+int WIPX_Read (int handle, qbyte *buf, int len, struct qsockaddr *addr)
 {
        int addrlen = sizeof (struct qsockaddr);
        int socket = ipxsocket[handle];
@@ -261,14 +261,14 @@ int WIPX_Read (int handle, byte *buf, int len, struct qsockaddr *addr)
 
 //=============================================================================
 
-int WIPX_Broadcast (int handle, byte *buf, int len)
+int WIPX_Broadcast (int handle, qbyte *buf, int len)
 {
        return WIPX_Write (handle, buf, len, &broadcastaddr);
 }
 
 //=============================================================================
 
-int WIPX_Write (int handle, byte *buf, int len, struct qsockaddr *addr)
+int WIPX_Write (int handle, qbyte *buf, int len, struct qsockaddr *addr)
 {
        int socket = ipxsocket[handle];
        int ret;