mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
fix some warnings
This commit is contained in:
parent
01ed8a07af
commit
ccb7528a59
11 changed files with 33 additions and 33 deletions
|
|
@ -248,7 +248,7 @@ error_code cellHttpUtilBuildRequestLine(vm::cptr<CellHttpRequestLine> req, vm::p
|
|||
|
||||
if (required)
|
||||
{
|
||||
*required = result.size();
|
||||
*required = ::narrow<u32>(result.size());
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
|
|
@ -277,7 +277,7 @@ error_code cellHttpUtilBuildHeader(vm::cptr<CellHttpHeader> header, vm::ptr<char
|
|||
|
||||
if (required)
|
||||
{
|
||||
*required = result.size();
|
||||
*required = ::narrow<u32>(result.size());
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
|
|
@ -336,7 +336,7 @@ error_code cellHttpUtilBuildUri(vm::cptr<CellHttpUri> uri, vm::ptr<char> buf, u3
|
|||
fmt::append(result, "%s", uri->path);
|
||||
}
|
||||
|
||||
const u32 size_needed = result.size() + 1; // Including '\0'
|
||||
const u32 size_needed = ::narrow<u32>(result.size() + 1); // Including '\0'
|
||||
|
||||
if (buf)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue