BNetEndPoint: fix signedness issues. CID 604169.