summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-17 14:12:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-17 14:12:30 -0800
commiteec7d1dea908432cc2ec9337cd3e0f63b72c16d9 (patch)
treec4c248db2f518d367b6cb6996677ec064847dafa /regex.h
parent07e0c300bc1a4c310080d0b2c21fdc863778115e (diff)
downloadtxr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.tar.gz
txr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.tar.bz2
txr-eec7d1dea908432cc2ec9337cd3e0f63b72c16d9.zip
Fixes for compliance to C89.
Diffstat (limited to 'regex.h')
-rw-r--r--regex.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/regex.h b/regex.h
index 19d19a7d..ecb86789 100644
--- a/regex.h
+++ b/regex.h
@@ -41,33 +41,33 @@ typedef cset_L1_t *cset_L2_t[16];
typedef cset_L2_t *cset_L3_t[17];
struct any_char_set {
- chset_type_t type : 4;
- int compl : 2;
+ unsigned type : 3;
+ unsigned compl : 1;
};
struct small_char_set {
- chset_type_t type : 4;
- int compl : 2;
+ unsigned type : 3;
+ unsigned compl : 1;
cset_L0_t bitcell;
};
struct displaced_char_set {
- chset_type_t type : 4;
- int compl : 2;
+ unsigned type : 3;
+ unsigned compl : 1;
cset_L0_t bitcell;
wchar_t base;
};
struct large_char_set {
- chset_type_t type : 4;
- int inv : 2;
+ unsigned type : 3;
+ unsigned compl : 1;
cset_L2_t dir;
};
struct xlarge_char_set {
- chset_type_t type : 4;
- int inv : 2;
+ unsigned type : 3;
+ unsigned compl : 1;
cset_L3_t dir;
};