Changeset 1505 for trunk/Cbc/src


Ignore:
Timestamp:
Sep 27, 2010 12:50:22 PM (9 years ago)
Author:
lou
Message:

Quash a few conversion warnings in 64-bit cl build.

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcHeuristic.cpp

    r1499 r1505  
    4444CbcHeuristicNodeList::gutsOfDelete()
    4545{
    46     for (int i = nodes_.size() - 1; i >= 0; --i) {
     46    for (size_t i = nodes_.size() - 1; i >= 0; --i) {
    4747        delete nodes_[i];
    4848    }
  • trunk/Cbc/src/CbcHeuristic.hpp

    r1432 r1505  
    2222
    2323/** A class describing the branching decisions that were made to get
    24     to the node where a heuristics was invoked from */
     24    to the node where a heuristic was invoked from */
    2525
    2626class CbcHeuristicNode {
     
    6666    }
    6767    inline int size() const {
    68         return nodes_.size();
     68        return static_cast<int>(nodes_.size());
    6969    }
    7070};
Note: See TracChangeset for help on using the changeset viewer.