Changeset 1361 for trunk/Clp


Ignore:
Timestamp:
Apr 19, 2009 12:31:26 PM (11 years ago)
Author:
forrest
Message:

warnings

Location:
trunk/Clp/src
Files:
2 edited

Legend:

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

    r1360 r1361  
    60776077    if (integerType_) {
    60786078      int marker=1;
    6079       fwrite(&marker,sizeof(int),1,fp);
     6079      numberWritten=fwrite(&marker,sizeof(int),1,fp);
    60806080      numberWritten = fwrite(integerType_,1,numberColumns_,fp);
    60816081      if (numberWritten!=numberColumns_)
     
    60836083    } else {
    60846084      int marker=0;
    6085       fwrite(&marker,sizeof(int),1,fp);
     6085      numberWritten=fwrite(&marker,sizeof(int),1,fp);
    60866086    }
    60876087    // just standard type at present
  • trunk/Clp/src/unitTest.cpp

    r1344 r1361  
    19721972      std::string topName="row_master";
    19731973      std::string blockName="block_";
    1974       char bName = 'a'+i;
     1974      char bName = 'a'+static_cast<char>(i);
    19751975      blockName.append(1,bName);
    19761976      structured.addBlock(topName,blockName,top);
     
    19981998    for (int i=0;i<numberBlocks;i++) {
    19991999      std::string blockName="block_";
    2000       char bName = 'a'+i;
     2000      char bName = 'a'+static_cast<char>(i);
    20012001      blockName.append(1,bName);
    20022002      structured2.addBlock(blockName,blockName,structured);
Note: See TracChangeset for help on using the changeset viewer.