1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

ctype-big5.c:

ctype-cp932.c:
ctype-gbk.c:
ctype-mb.c:
ctype-simple.c:
ctype-sjis.c:
ctype-ucs2.c:
ctype-ujis.c:
ctype-utf8.c:

  Adding explicit cast to return type
  in pointer substructions to avoid
  warnings from some compilers.
This commit is contained in:
bar@mysql.com
2005-07-26 16:38:10 +05:00
parent 31b1bdc52a
commit 637ec56206
9 changed files with 22 additions and 22 deletions

View File

@ -2008,7 +2008,7 @@ static int my_strnncoll_utf8(CHARSET_INFO *cs,
s+=s_res;
t+=t_res;
}
return t_is_prefix ? t-te : ((se-s) - (te-t));
return t_is_prefix ? (int) (t-te) : (int) ((se-s) - (te-t));
}