mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
Merge pull request #29 from jakcron/refactor-ISerialisable
[nx] silence warnings.
This commit is contained in:
commit
3949d34ae4
|
@ -61,9 +61,9 @@ void nx::NpdmBinary::toBytes()
|
|||
uint32_t offset, size;
|
||||
} acid, aci;
|
||||
|
||||
acid.offset = align(sizeof(sNpdmHeader), npdm::kSectionAlignSize);
|
||||
acid.offset = (uint32_t)align(sizeof(sNpdmHeader), npdm::kSectionAlignSize);
|
||||
acid.size = (uint32_t)mAcid.getBytes().size();
|
||||
aci.offset = acid.offset + align(acid.size, npdm::kSectionAlignSize);
|
||||
aci.offset = (uint32_t)acid.offset + align(acid.size, npdm::kSectionAlignSize);
|
||||
aci.size = (uint32_t)mAci.getBytes().size();
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue