diff options
Diffstat (limited to 'src/lib/krb5/unicode/ucdata/ucdata.c')
-rw-r--r-- | src/lib/krb5/unicode/ucdata/ucdata.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/krb5/unicode/ucdata/ucdata.c b/src/lib/krb5/unicode/ucdata/ucdata.c index 590ad2fee..1e46744b6 100644 --- a/src/lib/krb5/unicode/ucdata/ucdata.c +++ b/src/lib/krb5/unicode/ucdata/ucdata.c @@ -59,7 +59,7 @@ typedef struct { krb5_ui_2 cnt; union { krb5_ui_4 bytes; - krb5_ui_2 len[2]; + krb5_ui_2 len[2]; } size; } _ucheader_t; @@ -618,7 +618,7 @@ uccomp_hangul(krb5_ui_4 *str, int len) LCount = 19, VCount = 21, TCount = 28, NCount = VCount * TCount, /* 588 */ SCount = LCount * NCount; /* 11172 */ - + int i, rlen; krb5_ui_4 ch, last, lindex, sindex; @@ -638,7 +638,7 @@ uccomp_hangul(krb5_ui_4 *str, int len) continue; } } - + /* check if two current characters are LV and T */ sindex = last - SBase; if (sindex < (krb5_ui_4) SCount @@ -671,7 +671,7 @@ uccanoncomp(krb5_ui_4 *str, int len) stpos = 0; copos = 1; prevcl = uccombining_class(st) == 0 ? 0 : 256; - + for (i = 1; i < len; i++) { ch = str[i]; cl = uccombining_class(ch); @@ -885,7 +885,7 @@ uckdecomp(krb5_ui_4 code, krb5_ui_4 *num, krb5_ui_4 **decomp) if (code < _uckdcmp_nodes[0]) { return 0; } - + l = 0; r = _uckdcmp_nodes[_uckdcmp_size] - 1; |