]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix typos
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 5 Aug 2011 21:19:06 +0000 (21:19 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 5 Aug 2011 21:19:06 +0000 (21:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11270 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c

index cb19aaee7425ec3af4a26fc2f1f5d46fa303afaf..eefae3ad4c67e99c2ae5ab05c60d3f038a7eb23c 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2309,7 +2309,7 @@ static qboolean NetConn_BuildStatusResponse(const char* challenge, char* out_msg
                char *p;
                const char *q;
                p = qcstatus;
-               for(q = str; *q && (size_t)((p - qcstatus) < (sizeof(qcstatus)) - 1); ++q)
+               for(q = str; *q && (size_t)(p - qcstatus) < (sizeof(qcstatus) - 1); ++q)
                        if(*q != '\\' && *q != '\n')
                                *p++ = *q;
                *p = 0;