Changeset 32c80f in git


Ignore:
Timestamp:
Jul 15, 2010, 12:30:02 AM (14 years ago)
Author:
Alexander Dreyer <dreyer@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
d56cdae01f2cd4bd0d5e6cf03bbe3672345b236d
Parents:
0d348b91bd5d226ba799178daca46300068b6d0a
Message:
FIX: ambigous overload of si_max resolved

git-svn-id: file:///usr/local/Singular/svn/trunk@13010 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipprint.cc

    r0d348b r32c80f  
    6969    ss=(char *)omAlloc(14+strlen(name));
    7070    sprintf(ss,"%s[%d,%d]",name,MATCOLS(m),MATROWS(m));
    71     vl=si_max(vl,strlen(ss));
     71    vl=si_max(vl,(int)strlen(ss));
    7272    omFree(ss);
    7373
     
    9999          {
    100100            strcat(ss,",");
    101             vl=si_max(vl,strlen(ss));
     101            vl=si_max(vl,(int)strlen(ss));
    102102          }
    103103        }
  • kernel/longrat0.cc

    r0d348b r32c80f  
    128128    }
    129129    int l=mpz_sizeinbase(a->z,10);
    130     if (a->s<2) l=si_max(l,mpz_sizeinbase(a->n,10));
     130    if (a->s<2) l=si_max(l,(int)mpz_sizeinbase(a->n,10));
    131131    l+=2;
    132132    s=(char*)omAlloc(l);
Note: See TracChangeset for help on using the changeset viewer.