```len``` should be of the type ```size_t```.