Changeset 1322 for trunk


Ignore:
Timestamp:
Jan 16, 2009 1:02:01 AM (11 years ago)
Author:
jpfasano
Message:

Change to source so will compile with MS Visual Studio Express V9.
Error message indicated that reinterpret cast can not be used to remove constness.

File:
1 edited

Legend:

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

    r1321 r1322  
    958958                  if (CbcOrClpRead_mode==2&&argc==2) {
    959959                    // only if ends .mps
    960                     char * find = reinterpret_cast<char *>(strstr(fileName.c_str(),".mps"));
     960                    char * find = const_cast<char *>(strstr(fileName.c_str(),".mps"));
    961961                    if (find&&find[4]=='\0') {
    962962                      find[1]='p'; find[2]='a';find[3]='r';
Note: See TracChangeset for help on using the changeset viewer.