Fix build for macOS

On macOS, size_t is neither uint32_t nor uint64_t. So compilation fails
because no update method corresponds. This casts the result of vector::size
to uint32_t to fix this, just as was done for strings in updateString.

Bug: N/A
Test: N/A
Change-Id: Icfd0ce32db4f770bd1b0c5f164c4c87e846ae1d9
1 file changed