!2388 告警修复:appIndex赋值

Merge pull request !2388 from Cuiziyuan/codeWarn
This commit is contained in:
openharmony_ci 2024-10-31 12:45:49 +00:00 committed by Gitee
commit db76d6c771
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -72,7 +72,7 @@ bool URIUtils::GetAppIndexFromProxyURI(const std::string &uri, int32_t &appIndex
ZLOGE("appIndex is invalid! appIndex: %{public}s", queryParams[APP_INDEX].c_str());
return false;
}
appIndex = data;
appIndex = static_cast<int32_t>(data);
}
return true;
}