diff options
author | Baruch Siach <baruch@tkos.co.il> | 2018-06-22 14:44:05 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-06-22 19:09:20 +0200 |
commit | 7574a5b0557f03c3f3d0e059e332749314546092 (patch) | |
tree | 877381b95906015c5f4842699a7d1badc6a675c8 /package/python-protobuf/python-protobuf.hash | |
parent | 8974ebaab005a40cf1564650d54d80830e730f55 (diff) | |
download | buildroot-7574a5b0557f03c3f3d0e059e332749314546092.tar.gz buildroot-7574a5b0557f03c3f3d0e059e332749314546092.zip |
imx-usb-loader: make the byte swap macro more robust
The local 16-bit byte swap implementation that was introduced in commit
b05f8f439681 (imx-usb-loader: fix build with older gcc) is not robust
enough. It suffers from double evaluation, and operators precedence
breakage. Use a better implementation suggested by Arnout Vandecappelle.
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-protobuf/python-protobuf.hash')
0 files changed, 0 insertions, 0 deletions