aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-07-20 19:53:00 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-07-21 09:49:34 +0200
commit488992b0109e2a3fb55a1ebd9180b7fa208a8ff6 (patch)
tree5ee65fc0efdee64fca3d568fe8f74b50c7008cba /docs
parent803caab80a8aea7bcdb846aa2b61cdd0bf794360 (diff)
qcdm: avoid upsetting the compiler with wrong aliasing
We shouldn't be accessiing u_int8_t * as u_int16_t *. Let's construct the 16-bit value by or-ing the 8-bit halves directly; avoiding the endianness conversion too.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions