mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Cosmetic tweak to use a type suffix instead of a cast to force a constant
to be a long.
This commit is contained in:
parent
2b4969ff9e
commit
6fb5da5092
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ struct dbreg {
|
|||
#define DBREG_DR7_EXEC 0x00 /* break on execute */
|
||||
#define DBREG_DR7_WRONLY 0x01 /* break on write */
|
||||
#define DBREG_DR7_RDWR 0x03 /* break on read or write */
|
||||
#define DBREG_DR7_MASK(i) ((u_long)0xf << ((i) * 4 + 16) | 0x3 << (i) * 2)
|
||||
#define DBREG_DR7_MASK(i) (0xful << ((i) * 4 + 16) | 0x3 << (i) * 2)
|
||||
#define DBREG_DR7_SET(i, len, access, enable) \
|
||||
((u_long)((len) << 2 | (access)) << ((i) * 4 + 16) | (enable) << (i) * 2)
|
||||
#define DBREG_DR7_GD 0x2000
|
||||
|
|
|
|||
Loading…
Reference in a new issue