diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-30 08:59:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-30 08:59:43 +0200 |
commit | 3a13787cc800f70813087a4e9ff541bd0ef63a0f (patch) | |
tree | a1bfab3f4343f4e584a95470c0e1e091e261ff1e /xml/details/genx/char-props.c | |
parent | 6f9ded221d69320047a8c3a0621cd797a86c07e2 (diff) |
Use size_t instead of int in genx
Diffstat (limited to 'xml/details/genx/char-props.c')
-rw-r--r-- | xml/details/genx/char-props.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xml/details/genx/char-props.c b/xml/details/genx/char-props.c index 5f9c152..a8923c0 100644 --- a/xml/details/genx/char-props.c +++ b/xml/details/genx/char-props.c @@ -18,16 +18,16 @@ static void charProp(char * p, int c, int prop) p[c] |= prop; } -static void rangeProp(char * p, int start, int end, int prop) +static void rangeProp(char * p, size_t start, size_t end, int prop) { - int i; + size_t i; for (i = start; i <= end; i++) p[i] |= prop; } void genxSetCharProps(char * p) { - int i; + size_t i; for (i = 0; i < GENX_CHAR_TABLE_SIZE; i++) p[i] = 0; @@ -392,4 +392,3 @@ void genxSetCharProps(char * p) #endif /* GENX_CHAR_TABLE_SIZE == 0x10000 */ } - |