mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Small cleanup to previous commit.
Just use % 8, instead of & 0x7. This makes it easier to understand.
This commit is contained in:
parent
3e1720f5e0
commit
d50321fd3a
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ teken_tab_isset(teken_t *t, unsigned int col)
|
|||
unsigned int b, o;
|
||||
|
||||
if (col >= T_NUMCOL)
|
||||
return ((col & 0x7) == 0);
|
||||
return ((col % 8) == 0);
|
||||
|
||||
b = col / (sizeof(unsigned int) * 8);
|
||||
o = col % (sizeof(unsigned int) * 8);
|
||||
|
|
|
|||
Loading…
Reference in a new issue