Add extra (size_t) cast to avoid compiler warning. am: 3b126928a1 am: 7f69cd1eb5
am: 806d678151

Change-Id: I93397beaf5ac90b892eea978e3bb9f9b1d174cf9