mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Add usz alias for std::size_t
This commit is contained in:
parent
360c4d1554
commit
fb29933d3d
173 changed files with 718 additions and 717 deletions
|
@ -163,7 +163,7 @@ void fmt_class_string<SceNpCommunicationSignature>::format(std::string& out, u64
|
|||
// Format as a C byte array for ease of use
|
||||
fmt::append(out, "{ ");
|
||||
|
||||
for (std::size_t i = 0;; i++)
|
||||
for (usz i = 0;; i++)
|
||||
{
|
||||
if (i == std::size(sign.data) - 1)
|
||||
{
|
||||
|
@ -490,7 +490,7 @@ error_code sceNpTrophyRegisterContext(ppu_thread& ppu, u32 context, u32 handle,
|
|||
}
|
||||
|
||||
// Rename or discard certain entries based on the files found
|
||||
const size_t kTargetBufferLength = 31;
|
||||
const usz kTargetBufferLength = 31;
|
||||
char target[kTargetBufferLength + 1];
|
||||
target[kTargetBufferLength] = 0;
|
||||
strcpy_trunc(target, fmt::format("TROP_%02d.SFM", static_cast<s32>(g_cfg.sys.language)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue