ircd: parse: now this type cast for POINTER MATH is just fucking stupid

This commit is contained in:
William Pitcock 2016-03-20 04:21:25 -05:00
parent d24856d228
commit 44f442e3fb
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
/* Its expected this nasty code can be removed
* or rewritten later if still needed.
*/
if((unsigned long) (p + 8) > (unsigned long) end)
if((p + 8) > end)
{
for (; p <= end; p++)
{