use %u for size_t on microsoft compilers