Commit 58caded7 authored by Pavel Tvrdík's avatar Pavel Tvrdík

Socktest: Don't make arithmetic with void pointer

parent ac38cbee
......@@ -150,7 +150,7 @@ ipv4_skip_header(void **pbuf, int l)
if (q > l)
return 0;
*pbuf += q;
*pbuf = (char *) *pbuf + q;
return l - q;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment