mirror of
https://github.com/jakcron/nstool
synced 2024-12-25 14:11:14 +00:00
Merge pull request #29 from jakcron/refactor-ISerialisable
[nx] silence warnings.
This commit is contained in:
commit
3949d34ae4
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ void nx::NpdmBinary::toBytes()
|
||||||
uint32_t offset, size;
|
uint32_t offset, size;
|
||||||
} acid, aci;
|
} 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();
|
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();
|
aci.size = (uint32_t)mAci.getBytes().size();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue