commit | 71ce60962f8575c37981d1447f83e2e02709382a | [log] [tgz] |
---|---|---|
author | Alexander Richardson <Alexander.Richardson@cl.cam.ac.uk> | Mon Jul 27 15:40:33 2020 |
committer | Thiago Macieira <thiago.macieira@intel.com> | Tue Jul 28 16:41:04 2020 |
tree | 9ad3647133de2a1217973bbea1d5a83c68f56450 | |
parent | 085ca40781f7c39febe6d14fb7e5cba342e1804b [diff] |
Fix -Werror,-Wself-assign on big-endian systems I was getting the following error when compiling cborencoder.c as part of QtBase for FreeBSD MIPS64: error: explicitly assigning value of variable of type 'uint64_t' (aka 'unsigned long') to itself [-Werror,-Wself-assign] v = cbor_htonll(v); Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>