POINTER ARITHMETIC WITH VOID* IS BAD.
POINTER ARITHMETIC WITH VOID* IS BAD.

use intptr_t. also fixes a bunch of compile warns for x86_64


SVN revision: 61841

FlorentRevest/Elementary,rvandegrift/elementary,tasn/elementary,FlorentRevest/Elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,FlorentRevest/Elementary,tasn/elementary,rvandegrift/elementary,rvandegrift/elementary,rvandegrift/elementary,tasn/elementary