fix clang++ build error, first argument of main must be int

- explicitly convert to size_t