vpx_mem,align_addr: use ~ to create mask
authorJames Zern <jzern@google.com>
Sat, 27 Aug 2016 17:34:40 +0000 (10:34 -0700)
committerJames Zern <jzern@google.com>
Sat, 27 Aug 2016 18:39:18 +0000 (11:39 -0700)
commit19d881290deb3cde837c70395d72d3a8f482c2b0
tree8f9602ac77dc6b8348cf821177d0e12542fc0463
parenta19b9b618522fd02a3dfe99a72f3daddcae1ec03
vpx_mem,align_addr: use ~ to create mask

removes the need for an intermediate cast to int, which was missing in
the call added in:
69c5ba1 vpx_mem: Refactor code

quiets a visual studio warning:
C4146: unary minus operator applied to unsigned type, result still
unsigned

Change-Id: I76c4003416759c6c76b78f74de7c0d2ba5071216
vpx_mem/include/vpx_mem_intrnl.h
vpx_mem/vpx_mem.c