Changeset 1124


Ignore:
Timestamp:
Jan 16, 2009 3:18:45 AM (11 years ago)
Author:
jpfasano
Message:

Changed reinterpret_cast to be const_cast to compile with MS Visual Studio Express V9

File:
1 edited

Legend:

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

    r1121 r1124  
    84458445                  if (CbcOrClpRead_mode==2&&argc==2) {
    84468446                    // only if ends .mps
    8447                     char * find = reinterpret_cast<char *>(strstr(fileName.c_str(),".mps"));
     8447                    char * find = const_cast<char *>(strstr(fileName.c_str(),".mps"));
    84488448                    if (find&&find[4]=='\0') {
    84498449                      find[1]='p'; find[2]='a';find[3]='r';
Note: See TracChangeset for help on using the changeset viewer.