arraylen must be size_t

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>