diff options
| author | Xavier Del Campo Romero <xavier.delcampo@orain.io> | 2020-05-04 16:45:54 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavier.delcampo@orain.io> | 2020-05-04 16:45:54 +0200 |
| commit | 71a3db14a5383b73eb719b1d3f479d32fc81ad3a (patch) | |
| tree | 733dafc558024f8f5bb0c5bcde187d86e31d5936 /LICENSE | |
| parent | dfa47a3a6ba0b2c3e9bcc622b9f32572db425090 (diff) | |
Various bugfixes and improvements
- Fixed wrong return type from swap16() and swap32().
- Padding must be calculated according to alignment rules (given by
_Alignof), not type size. While that would work on 32-bit CPUs, it
might fail on 8-bit or 16-bit CPUs.
- Added extra parentheses on assignment in while loop to avoid compiler warning.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
