Commit c34cb165 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

fix compiler error on clang-cl

parent 31e6c96b
...@@ -921,7 +921,7 @@ my_string_metadata_get(MY_STRING_METADATA *metadata, ...@@ -921,7 +921,7 @@ my_string_metadata_get(MY_STRING_METADATA *metadata,
/* /*
Check repertoire: detect pure ascii strings Check repertoire: detect pure ascii strings
*/ */
uint my_repertoire_t
my_string_repertoire(CHARSET_INFO *cs, const char *str, size_t length) my_string_repertoire(CHARSET_INFO *cs, const char *str, size_t length)
{ {
if (cs->mbminlen == 1 && !(cs->state & MY_CS_NONASCII)) 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) ...@@ -948,7 +948,7 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, size_t length)
/* /*
Returns repertoire for charset 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 ? return cs->state & MY_CS_PUREASCII ?
MY_REPERTOIRE_ASCII : MY_REPERTOIRE_UNICODE30; MY_REPERTOIRE_ASCII : MY_REPERTOIRE_UNICODE30;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment