diff options
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 */ } - |