mapi: Don't rely on GNU void pointer arithmetic.
authorMatt Turner <mattst88@gmail.com>
Fri, 27 Feb 2015 19:42:43 +0000 (11:42 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 28 Feb 2015 00:57:10 +0000 (16:57 -0800)
commit76cd0f00f44c0935dc7d6a0e14e0515f08a8e1dc
tree9393af6cfd0160217bf4486880df23ec0de06264
parent982723dfa20386b40ab2876fb134217cba42a934
mapi: Don't rely on GNU void pointer arithmetic.

Commit 79daa510c added -Werror=pointer-arith to CFLAGS, which makes
arithmetic on void pointers an error.

See https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/entry_x86-64_tls.h
src/mapi/entry_x86_tls.h