shared_font: Service::NS::EncryptSharedFont takes a size_t&

This commit is contained in:
MerryMage 2020-06-17 12:27:41 +01:00
parent 69f38355ed
commit 4f09f0aea4

View File

@ -23,7 +23,7 @@ VirtualFile PackBFTTF(const std::array<u8, Size>& data, const std::string& name)
std::vector<u8> bfttf(Size + sizeof(u64)); std::vector<u8> bfttf(Size + sizeof(u64));
u64 offset = 0; size_t offset = 0;
Service::NS::EncryptSharedFont(vec, bfttf, offset); Service::NS::EncryptSharedFont(vec, bfttf, offset);
return std::make_shared<VectorVfsFile>(std::move(bfttf), name); return std::make_shared<VectorVfsFile>(std::move(bfttf), name);
} }