Changeset 70 for trunk


Ignore:
Timestamp:
Dec 5, 2002 11:39:41 AM (17 years ago)
Author:
coinadmin
Message:

Modified to compile with AIX VisualAge? compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Idiot.cpp

    r63 r70  
    145145  if (numberPass<=0)
    146146    // Cast to avoid gcc compiler warning
    147     majorIterations_=(int)(2+log10(numberColumns+1));
     147    // Cast to double to avoid VACPP complaining
     148    majorIterations_=(int)(2+log10((double)(numberColumns+1)));
    148149  else
    149150    majorIterations_=numberPass;
Note: See TracChangeset for help on using the changeset viewer.