commit | 6de29a031460967d9b26716a6b7a7369e7713137 | [log] [tgz] |
---|---|---|
author | guy <guy> | Fri Sep 29 05:05:47 2000 +0000 |
committer | guy <guy> | Fri Sep 29 05:05:47 2000 +0000 |
tree | 52d21ff23e41b319a117184902a8331fad969591 | |
parent | cf53dc05f1c854cc8cb94afd3409bbf033a055ed [diff] |
Declare bitfields as "u_int", not "u_char"; ANSI C doesn't guarantee that bitfields other than "int" or "unsigned int" are allowed, some compilers warn about them, and, given that the declaration of a bit field says how many bits it is wide, declaring them "u_char" doesn't have any advantage (other than making it a bit clearer, when reading the header, that the bitfields in question are part of a single byte).