diff options
author | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-18 18:35:08 +0000 |
---|---|---|
committer | chpe <chpe@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-10-18 18:35:08 +0000 |
commit | b0ddf44ca704295685dc4a206bb1957957b84d5e (patch) | |
tree | de87f4281b5d0fda8c8ff1990504666da272542f /pcre_tables.c | |
parent | ee59e8011f8298f70413cb9fcb523e2604216a6c (diff) | |
download | pcre-b0ddf44ca704295685dc4a206bb1957957b84d5e.tar.gz |
Make ucp_gentype unsigned int
It's compared against unsigned values, so change it to unsigned to quit
a few -Wsign-compare warnings.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1128 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_tables.c')
-rw-r--r-- | pcre_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_tables.c b/pcre_tables.c index 8b0a832..8a1b3a9 100644 --- a/pcre_tables.c +++ b/pcre_tables.c @@ -104,7 +104,7 @@ const pcre_uint8 PRIV(utf8_table4)[] = { /* Table to translate from particular type value to the general value. */ -const int PRIV(ucp_gentype)[] = { +const pcre_uint32 PRIV(ucp_gentype)[] = { ucp_C, ucp_C, ucp_C, ucp_C, ucp_C, /* Cc, Cf, Cn, Co, Cs */ ucp_L, ucp_L, ucp_L, ucp_L, ucp_L, /* Ll, Lu, Lm, Lo, Lt */ ucp_M, ucp_M, ucp_M, /* Mc, Me, Mn */ |