~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to strings/ctype.c

  • Committer: Monty Taylor
  • Date: 2008-07-05 15:50:57 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705155057-cbvzf2702lp8c38p
Added cast for a type-signedness problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
  {
329
329
    my_wc_t wc;
330
330
    int chlen;
331
 
    for (; (chlen= cs->cset->mb_wc(cs, &wc, str, strend)) > 0; str+= chlen)
 
331
    for (; (chlen= cs->cset->mb_wc(cs, &wc, (uchar *)str, (uchar *)strend)) > 0; str+= chlen)
332
332
    {
333
333
      if (wc > 0x7F)
334
334
        return MY_REPERTOIRE_UNICODE30;