diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-10-13 09:13:19 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-10-13 09:13:19 -0400 |
| commit | 6da2ed4232d3b3ecde7a04621c554f66de558fab (patch) | |
| tree | 83184a61eecca6dcc5f543a5f69f93234eacdbc6 /src/core/crypto/partition_data_manager.h | |
| parent | f56a8da46a58c0a4a1ce2570038a7060de29a18c (diff) | |
key_manager/partition_data_manager: Silence truncation compiler warnings
Diffstat (limited to 'src/core/crypto/partition_data_manager.h')
| -rw-r--r-- | src/core/crypto/partition_data_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/partition_data_manager.h b/src/core/crypto/partition_data_manager.h index 7c9c4410a..9e448f720 100644 --- a/src/core/crypto/partition_data_manager.h +++ b/src/core/crypto/partition_data_manager.h @@ -34,7 +34,7 @@ public: // BOOT0 bool HasBoot0() const; FileSys::VirtualFile GetBoot0Raw() const; - EncryptedKeyBlob GetEncryptedKeyblob(u8 index) const; + EncryptedKeyBlob GetEncryptedKeyblob(std::size_t index) const; EncryptedKeyBlobs GetEncryptedKeyblobs() const; std::vector<u8> GetSecureMonitor() const; std::array<u8, 0x10> GetPackage2KeySource() const; @@ -46,7 +46,7 @@ public: std::vector<u8> GetPackage1Decrypted() const; std::array<u8, 0x10> GetMasterKeySource() const; std::array<u8, 0x10> GetKeyblobMACKeySource() const; - std::array<u8, 0x10> GetKeyblobKeySource(u8 revision) const; + std::array<u8, 0x10> GetKeyblobKeySource(std::size_t revision) const; // Fuses bool HasFuses() const; |
