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

Change-Id: I854fe0a04c16483f2540bc2b180fd6b0a7578e88