We declared the function to take size_t, but it really expected int. The implementation is changed to use size_t throughout. Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749434