aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/boot0cfg
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-12-21 05:40:46 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-12-21 05:40:46 +0000
commit94632b9fe1b71140751fb49369a8bfa000d0ecaa (patch)
tree72af97d29b12d7a9ee3f9fc05be2991505855b0f /usr.sbin/boot0cfg
parent6f3914bcf4dd5e09693aff94d28498c126579534 (diff)
downloadsrc-94632b9fe1b71140751fb49369a8bfa000d0ecaa.tar.gz
src-94632b9fe1b71140751fb49369a8bfa000d0ecaa.zip
Unbreak 64-bit little-endian systems that do require alignment.
The fix involves using le16dec(), le32dec(), le16enc() and le32enc(). This eliminates invalid casts and duplicated logic.
Notes
Notes: svn path=/head/; revision=165431
Diffstat (limited to 'usr.sbin/boot0cfg')
0 files changed, 0 insertions, 0 deletions