mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Explicitly cast size_t to integer types
This commit is contained in:
parent
146e43b6ec
commit
d57124d075
14 changed files with 30 additions and 29 deletions
|
|
@ -224,7 +224,7 @@ s32 _ConvertStr(s32 src_code, const void *src, s32 src_len, s32 dst_code, void *
|
|||
if (target.length() > *dst_len) return DSTExhausted;
|
||||
memcpy(dst, target.c_str(), target.length());
|
||||
}
|
||||
*dst_len = target.length();
|
||||
*dst_len = ::narrow<s32>(target.size());
|
||||
|
||||
return ConversionOK;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue