The reason for typecasting size_t to unint32_t is that size_t is 8 bytes and uint32_t is only 4 bytes. If not typecasted Memcpy fails to copy the *correct* four bytes in big endian platforms.pull/13171/head
parent
38d674e86f
commit
6522ae4fb3
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue