diff --git a/rpcs3/Emu/Cell/Modules/cellSsl.h b/rpcs3/Emu/Cell/Modules/cellSsl.h index 3324e8e001..c8bb7d7443 100644 --- a/rpcs3/Emu/Cell/Modules/cellSsl.h +++ b/rpcs3/Emu/Cell/Modules/cellSsl.h @@ -19,7 +19,8 @@ enum CellSslError : u32 CELL_SSL_ERROR_UNKNOWN_LOAD_CERT = 0x80740037 }; -enum // Certificate load flags +// Certificate load flags +enum : u64 { CELL_SSL_LOAD_CERT_SCE01 = 0x0000000000000001ULL, CELL_SSL_LOAD_CERT_SCE02 = 0x0000000000000002ULL, diff --git a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp index 2ed5328bdd..18da8df6f0 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp @@ -159,7 +159,7 @@ s32 sysutil_check_name_string(const char* src, s32 minlen, s32 maxlen) return -1; } - for (u32 index = 0;; cur = src[++index]) + for (s32 index = 0;; cur = src[++index]) { if (cur == '\0' || index == maxlen) { diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index d34b700ac7..b5b73d92f5 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -4787,7 +4787,7 @@ bool ppu_interpreter::MTFSFI(ppu_thread& ppu, ppu_opcode_t op) { std::array values{}; - for (size_t i = 0; i < values.size(); i++) + for (u32 i = 0; i < values.size(); i++) { u32 value = 0, im = i; value |= (im & 1) << (8 * 3); im >>= 1;