Change type of second parameter back to size_t as per upcoming XPG6.