diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-03-20 13:39:50 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-03-21 14:56:12 +0100 |
| commit | ea6cfa421b7cef91eba85c5144eec14288c41c4c (patch) | |
| tree | 234fc185a35b920dda4486829e63c6aafe2ef235 /match/match.c | |
| parent | 14f65b1a3ddee4e70dc4c67234c3fccdd647af96 (diff) | |
Matcher: support up to 32 fingers
Make the matcher support up to 32 fingers instead of the current 16.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'match/match.c')
| -rw-r--r-- | match/match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/match/match.c b/match/match.c index dbb14ba..a3f4deb 100644 --- a/match/match.c +++ b/match/match.c | |||
| @@ -35,8 +35,8 @@ | |||
| 35 | * | 35 | * |
| 36 | */ | 36 | */ |
| 37 | 37 | ||
| 38 | typedef unsigned short col_t[1]; | 38 | typedef unsigned col_t[1]; |
| 39 | typedef unsigned short mat_t[DIM_FINGER]; | 39 | typedef unsigned mat_t[DIM_FINGER]; |
| 40 | 40 | ||
| 41 | #define GET1(m, x) ((m[0] >> (x)) & 1U) | 41 | #define GET1(m, x) ((m[0] >> (x)) & 1U) |
| 42 | #define SET1(m, x) (m[0] |= (1U << (x))) | 42 | #define SET1(m, x) (m[0] |= (1U << (x))) |
