diff --git a/src/core/libraries/np_common/np_common.cpp b/src/core/libraries/np_common/np_common.cpp index 8b916d9b9..0b5d0ce18 100644 --- a/src/core/libraries/np_common/np_common.cpp +++ b/src/core/libraries/np_common/np_common.cpp @@ -15,8 +15,9 @@ int PS4_SYSV_ABI sceNpCmpNpId(OrbisNpId* np_id1, OrbisNpId* np_id2) { } // Compare data - if (std::strncmp(reinterpret_cast(np_id1->handle.data), - reinterpret_cast(np_id2->handle.data), ORBIS_NP_ONLINEID_MAX_LENGTH) != 0) { + if (std::strncmp(reinterpret_cast(np_id1->handle.data), + reinterpret_cast(np_id2->handle.data), + ORBIS_NP_ONLINEID_MAX_LENGTH) != 0) { return ORBIS_NP_UTIL_ERROR_NOT_MATCH; } @@ -43,8 +44,9 @@ int PS4_SYSV_ABI sceNpCmpNpIdInOrder(OrbisNpId* np_id1, OrbisNpId* np_id2, u32* } // Compare data - u32 compare = std::strncmp(reinterpret_cast(np_id1->handle.data), - reinterpret_cast(np_id2->handle.data), ORBIS_NP_ONLINEID_MAX_LENGTH); + u32 compare = + std::strncmp(reinterpret_cast(np_id1->handle.data), + reinterpret_cast(np_id2->handle.data), ORBIS_NP_ONLINEID_MAX_LENGTH); if (compare < 0) { *out_result = -1; return ORBIS_OK; @@ -84,8 +86,9 @@ int PS4_SYSV_ABI sceNpCmpOnlineId(OrbisNpOnlineId* online_id1, OrbisNpOnlineId* return ORBIS_NP_ERROR_INVALID_ARGUMENT; } - if (std::strncmp(reinterpret_cast(online_id1->data), - reinterpret_cast(online_id2->data), ORBIS_NP_ONLINEID_MAX_LENGTH) != 0) { + if (std::strncmp(reinterpret_cast(online_id1->data), + reinterpret_cast(online_id2->data), + ORBIS_NP_ONLINEID_MAX_LENGTH) != 0) { return ORBIS_NP_UTIL_ERROR_NOT_MATCH; } return ORBIS_OK;