Changeset 1382 for stable


Ignore:
Timestamp:
Jul 7, 2009 4:42:11 PM (10 years ago)
Author:
forrest
Message:

compiler warnings 28

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSP/Clp/src/Clp_C_Interface.cpp

    r1231 r1382  
    240240      prefix, numcols, numrows);
    241241    printf("%s model = %p, start = %p, index = %p, value = %p\n",
    242       prefix, (void*)model, (void*)start, (void*)index, (void*)value);
     242           prefix, reinterpret_cast<const void *>(model), reinterpret_cast<const void *>(start), reinterpret_cast<const void *>(index), reinterpret_cast<const void *>(value));
    243243    printf("%s collb = %p, colub = %p, obj = %p, rowlb = %p, rowub = %p\n",
    244       prefix, (void*)collb, (void*)colub, (void*)obj, (void*)rowlb, (void*)rowub);
     244           prefix, reinterpret_cast<const void *>(collb), reinterpret_cast<const void *>(colub), reinterpret_cast<const void *>(obj), reinterpret_cast<const void *>(rowlb), reinterpret_cast<const void *>(rowub));
    245245  }
    246246  model->model_->loadProblem(numcols,numrows,start,index,value,
     
    11301130    prefix, numcols, numrows, numelem);
    11311131  printf("%s model = %p, start = %p, index = %p, value = %p\n",
    1132     prefix, (void*)model, (void*)start, (void*)index, (void*)value);
     1132         prefix, reinterpret_cast<const void *>(model), reinterpret_cast<const void *>(start), reinterpret_cast<const void *>(index), reinterpret_cast<const void *>(value));
    11331133  clp_simplex->matrix()->dumpMatrix(NULL);
    11341134  {
     
    11421142 
    11431143  printf("%s collb = %p, colub = %p, obj = %p, rowlb = %p, rowub = %p\n",
    1144     prefix, (void*)collb, (void*)colub, (void*)obj, (void*)rowlb, (void*)rowub);
     1144         prefix, reinterpret_cast<const void *>(collb), reinterpret_cast<const void *>(colub), reinterpret_cast<const void *>(obj), reinterpret_cast<const void *>(rowlb), reinterpret_cast<const void *>(rowub));
    11451145  printf("%s optimization direction = %g\n",prefix, Clp_optimizationDirection(model));
    11461146  printf("  (1 - minimize, -1 - maximize, 0 - ignore)\n");
Note: See TracChangeset for help on using the changeset viewer.