Add extra (size_t) cast to avoid compiler warning. am: 3b126928a1 am: b2d1df316a
am: 29e8851a07

Change-Id: Ibf80c09771d01b0e03fb19eee877c0ae25f36939