Use cork in UpgradeAsync, silence a warning

This commit is contained in:
Alex Hultman
2023-12-23 23:51:14 +01:00
parent 1b89d82cb0
commit b4d73a2ed3
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ private:
inline std::pair<std::string_view, bool> getUrlSegment(int urlSegment) {
if (urlSegment > urlSegmentTop) {
/* Signal as STOP when we have no more URL or stack space */
if (!currentUrl.length() || urlSegment > MAX_URL_SEGMENTS - 1) {
if (!currentUrl.length() || urlSegment > int(MAX_URL_SEGMENTS - 1)) {
return {{}, true};
}