@@ -541,11 +541,11 @@ URL = [OFMutableURL URL]; URL.scheme = @"http"; URL.host = _host; if (_port != 80) - URL.port = [OFNumber numberWithUInt16: _port]; + URL.port = [OFNumber numberWithUnsignedShort: _port]; if ((pos = [_path rangeOfString: @"?"].location) != OF_NOT_FOUND) { OFString *path, *query; path = [_path substringWithRange: of_range(0, pos)];