mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
C-style cast cleanup (partial)
Replace C-style casts with C++ casts.
This commit is contained in:
parent
8bd52c9843
commit
5b9df53c13
20 changed files with 280 additions and 334 deletions
|
@ -341,7 +341,7 @@ std::size_t cfmt_append(Dst& out, const Char* fmt, Src&& src)
|
|||
|
||||
if (!ctx.type)
|
||||
{
|
||||
ctx.type = (u8)src.type(ctx.args);
|
||||
ctx.type = static_cast<u8>(src.type(ctx.args));
|
||||
|
||||
if (!ctx.type)
|
||||
{
|
||||
|
@ -403,7 +403,7 @@ std::size_t cfmt_append(Dst& out, const Char* fmt, Src&& src)
|
|||
|
||||
if (!ctx.type)
|
||||
{
|
||||
ctx.type = (u8)src.type(ctx.args);
|
||||
ctx.type = static_cast<u8>(src.type(ctx.args));
|
||||
|
||||
if (!ctx.type)
|
||||
{
|
||||
|
@ -460,7 +460,7 @@ std::size_t cfmt_append(Dst& out, const Char* fmt, Src&& src)
|
|||
|
||||
if (!ctx.type)
|
||||
{
|
||||
ctx.type = (u8)src.type(ctx.args);
|
||||
ctx.type = static_cast<u8>(src.type(ctx.args));
|
||||
|
||||
if (!ctx.type)
|
||||
{
|
||||
|
@ -524,7 +524,7 @@ std::size_t cfmt_append(Dst& out, const Char* fmt, Src&& src)
|
|||
|
||||
if (!ctx.type)
|
||||
{
|
||||
ctx.type = (u8)src.type(ctx.args);
|
||||
ctx.type = static_cast<u8>(src.type(ctx.args));
|
||||
|
||||
if (!ctx.type)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue