Handle endianness correctly.

Spotted out by:	jmg
This commit is contained in:
Olivier Houchard 2005-03-03 23:27:09 +00:00
parent ed4d64dbf7
commit f18b179cc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143116

View file

@ -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 */