Make assert strings consistent

master
VolcaEM 2020-06-14 19:30:08 +07:00 committed by GitHub
parent 151a3fe7b3
commit 761d206049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

@ -50,7 +50,7 @@ struct NRRCertification {
std::array<u8, 0x100> public_key; // Also known as modulus
std::array<u8, 0x100> signature;
};
static_assert(sizeof(NRRCertification) == 0x220, "Certification has invalid size!");
static_assert(sizeof(NRRCertification) == 0x220, "Certification has invalid size.");
using SHA256Hash = std::array<u8, 0x20>;
@ -70,7 +70,7 @@ struct NRRHeader {
u64_le reserved_3;
};
#pragma pack()
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size!");
static_assert(sizeof(NRRHeader) == 0x350, "NRRHeader has invalid size.");
#pragma pack(1)
struct SegmentHeader {
@ -78,7 +78,7 @@ struct SegmentHeader {
u32_le memory_size;
};
#pragma pack()
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size!");
static_assert(sizeof(SegmentHeader) == 0x8, "SegmentHeader has invalid size.");
#pragma pack(1)
struct NROHeader {