WebBackForwardList::backListCount() and forwardListCount() return int backListWithLimit() and forwardListWithLimit() take unsigned At the client level, the WKBackForwardList equivalents of these functions all use unsigned WKArray uses size_t It would be better if the types were used more consistently.