mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
Handle endianness correctly.
Spotted out by: jmg
This commit is contained in:
parent
ed4d64dbf7
commit
f18b179cc9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143116
|
@ -71,7 +71,7 @@ __FBSDID("$FreeBSD$");
|
|||
}
|
||||
|
||||
static const u_int32_t in_masks[] = {
|
||||
#if 0
|
||||
#ifndef __ARMEB__
|
||||
/*0 bytes*/ /*1 byte*/ /*2 bytes*/ /*3 bytes*/
|
||||
0x00000000, 0x000000FF, 0x0000FFFF, 0x00FFFFFF, /* offset 0 */
|
||||
0x00000000, 0x0000FF00, 0x00FFFF00, 0xFFFFFF00, /* offset 1 */
|
||||
|
|
Loading…
Reference in a new issue