Changeset 95eeda in git


Ignore:
Timestamp:
Feb 21, 2014, 6:08:46 PM (10 years ago)
Author:
Max Horn <max@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
0a703ea5ab73bc9ef035d069331cde8c4de40906
Parents:
654726fdd2ca289b1ef3cbf4e931a1502bf145ef
Message:
Silence warning about implicit typecast
Location:
libpolys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/modulop.cc

    r654726 r95eeda  
    343343    }
    344344    while (((*s) >= '0') && ((*s) <= '9'));
    345     if (ii >= r->ch) ii = ii % r->ch;
     345    if (ii >= (unsigned long)r->ch) ii = ii % r->ch;
    346346    *i=(int)ii;
    347347  }
  • libpolys/reporter/reporter.cc

    r654726 r95eeda  
    354354#ifdef HAVE_VSNPRINTF
    355355    l = vsnprintf(s, ls+511, fmt, ap);
    356     if ((l==-1)||(s[l]!='\0')||(l!=strlen(s)))
     356    if ((l==-1)||(s[l]!='\0')||(l!=(int)strlen(s)))
    357357    {
    358358      printf("Print problem: l=%d, fmt=>>%s<<\n",l,fmt);
Note: See TracChangeset for help on using the changeset viewer.