Fix void* arithmetic warning (-Wpointer-arith)
authorJenny Wong <jyw@google.com>
Thu, 6 Aug 2015 17:02:35 +0000 (10:02 -0700)
committerJenny Wong <jyw@google.com>
Thu, 6 Aug 2015 18:55:52 +0000 (11:55 -0700)
commit453a8713244880962cd4489e133bfde590ddc576
tree727f6eb9b34bc28723b1145bfe0984e6bb27ba1b
parenta761816a12f3238246d301719888bbb63b6b1e7c
Fix void* arithmetic warning (-Wpointer-arith)

https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html
gcc will assume sizeof(void) == 1 when doing pointer arithmetic on
void*s, but other compilers may not.
src/network.c