Changeset a2cdd62 in git for libpolys/coeffs/ffields.cc


Ignore:
Timestamp:
Nov 15, 2011, 7:28:26 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
7d58b610fedb008c184de5ef38c1cd5bc05d1ecc
Parents:
4e855a74192517a72dcb8d0b593d1a3706ed88d9
Message:
fix: avoid limits.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/ffields.cc

    r4e855a7 ra2cdd62  
    464464      *i *= 10;
    465465      *i += *s++ - '0';
    466       if (*i > (INT_MAX / 10)) *i = *i % r->m_nfCharP;
     466      if (*i > (MAX_INT_VAL / 10)) *i = *i % r->m_nfCharP;
    467467    }
    468468    while (*s >= '0' && *s <= '9');
Note: See TracChangeset for help on using the changeset viewer.