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

Change-Id: I9eb7f0ac945838c7fdb9cce1fee8119404cdb9fb