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

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++)
{