]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
offsetmapping: make it work on ATI Radeon 9500-9800/X300 again
[xonotic/darkplaces.git] / netconn.c
index 73de1f4c532e37e6c4e350bba0988ecc3cbef4ff..dde22c22c34c28f1a28fe65349ec367bcb705f73 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2285,7 +2285,7 @@ static qboolean NetConn_BuildStatusResponse(const char* challenge, char* out_msg
                        char *p;
                        const char *q;
                        p = qcstatus;
-                       for(q = str; *q && p - qcstatus < (ssize_t)(sizeof(qcstatus)) - 1; ++q)
+                       for(q = str; *q && p - qcstatus < (ptrdiff_t)(sizeof(qcstatus)) - 1; ++q)
                                if(*q != '\\' && *q != '\n')
                                        *p++ = *q;
                        *p = 0;