ircd: parse: now this type cast for POINTER MATH is just fucking stupid
This commit is contained in:
parent
d24856d228
commit
44f442e3fb
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
|
||||||
/* Its expected this nasty code can be removed
|
/* Its expected this nasty code can be removed
|
||||||
* or rewritten later if still needed.
|
* or rewritten later if still needed.
|
||||||
*/
|
*/
|
||||||
if((unsigned long) (p + 8) > (unsigned long) end)
|
if((p + 8) > end)
|
||||||
{
|
{
|
||||||
for (; p <= end; p++)
|
for (; p <= end; p++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue