Changeset 811


Ignore:
Timestamp:
Oct 1, 2007 1:00:26 PM (12 years ago)
Author:
forrest
Message:

union

File:
1 edited

Legend:

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

    r789 r811  
    157157      }
    158158    }
    159     CoinModel * coinModel=NULL;
    160     int returnCode = readAmpl(&info_,argc, argv,(void **) (& coinModel));
     159    union { void * voidModel; CoinModel * model; } coinModelStart;
     160    coinModelStart.model=NULL;
     161    int returnCode = readAmpl(&info_,argc, argv,& coinModelStart.voidModel);
     162    CoinModel * coinModel=coinModelStart.model;
    161163    if (returnCode)
    162164      return returnCode;
Note: See TracChangeset for help on using the changeset viewer.