author | Jenny Wong <jyw@google.com> | |
Thu, 6 Aug 2015 17:02:35 +0000 (10:02 -0700) | ||
committer | Jenny Wong <jyw@google.com> | |
Thu, 6 Aug 2015 18:55:52 +0000 (11:55 -0700) | ||
commit | 453a8713244880962cd4489e133bfde590ddc576 | |
tree | 727f6eb9b34bc28723b1145bfe0984e6bb27ba1b | tree | snapshot |
parent | a761816a12f3238246d301719888bbb63b6b1e7c | commit | diff |
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.
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 | diff | blob | history |