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

Change-Id: Ib69ed6586cd785f7ddd785d66407a0cbaecedd3f