diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2020-09-01 11:34:03 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2020-09-01 11:34:03 +0200 |
commit | c34cb165881e18234543b12bae9e2f96548ba7d3 (patch) | |
tree | 4fbecf7d57a40ad8db35b2f1128729582b9907a3 /strings | |
parent | 31e6c96b0449761dc15f548c28ded671d1b7219b (diff) | |
download | mariadb-git-c34cb165881e18234543b12bae9e2f96548ba7d3.tar.gz |
fix compiler error on clang-cl
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype.c b/strings/ctype.c index c9977824176..46951c3ae1f 100644 --- a/strings/ctype.c +++ b/strings/ctype.c @@ -921,7 +921,7 @@ my_string_metadata_get(MY_STRING_METADATA *metadata, /* Check repertoire: detect pure ascii strings */ -uint +my_repertoire_t my_string_repertoire(CHARSET_INFO *cs, const char *str, size_t length) { if (cs->mbminlen == 1 && !(cs->state & MY_CS_NONASCII)) @@ -948,7 +948,7 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, size_t length) /* Returns repertoire for charset */ -uint my_charset_repertoire(CHARSET_INFO *cs) +my_repertoire_t my_charset_repertoire(CHARSET_INFO *cs) { return cs->state & MY_CS_PUREASCII ? MY_REPERTOIRE_ASCII : MY_REPERTOIRE_UNICODE30; |