Ignore:
Timestamp:
Jan 14, 2009 4:14:09 PM (11 years ago)
Author:
forrest
Message:

out compiler warnings and stability improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPresolve.cpp

    r1297 r1321  
    839839 
    840840  while (paction) {
    841 #if     PRESOLVE_DEBUG
     841#if PRESOLVE_DEBUG
    842842    printf("POSTSOLVING %s\n", paction->name());
    843843#endif
     
    999999
    10001000{
    1001   bulk0_ = (CoinBigIndex) (bulkRatio_*nelems_in);
     1001  bulk0_ = static_cast<CoinBigIndex> (bulkRatio_*nelems_in);
    10021002  hrow_  = new int   [bulk0_];
    10031003  colels_ = new double[bulk0_];
     
    11791179  delete mRow;
    11801180  if (si->integerInformation()) {
    1181     CoinMemcpyN((unsigned char *) si->integerInformation(),ncols_,integerType_);
     1181    CoinMemcpyN(reinterpret_cast<unsigned char *> (si->integerInformation()),ncols_,integerType_);
    11821182  } else {
    1183     ClpFillN<unsigned char>(integerType_, ncols_, (unsigned char) 0);
     1183    ClpFillN<unsigned char>(integerType_, ncols_, static_cast<unsigned char> (0));
    11841184  }
    11851185
     
    12891289  }
    12901290  if (numberIntegers)
    1291     si->copyInIntegerInformation((const char *) integerType_);
     1291    si->copyInIntegerInformation(reinterpret_cast<const char *> (integerType_));
    12921292  else
    12931293    si->copyInIntegerInformation(NULL);
Note: See TracChangeset for help on using the changeset viewer.