Date: Thu, 21 Dec 2006 05:40:46 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs bpb.h Message-ID: <200612210540.kBL5ekLR020465@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2006-12-21 05:40:46 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs bpb.h
Log:
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.
Revision Changes Path
1.14 +5 -18 src/sys/fs/msdosfs/bpb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612210540.kBL5ekLR020465>
