X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=cmim.git;a=blobdiff_plain;f=cmim.cc;h=44c4629d4d3cc8284626d3f71011a2c3eb8bd9ce;hp=0aa3b8d33fd8efd6ceddc4fe507a0c6af7e5f770;hb=821328d86a960f3c5303d22381dce3d7da059f0a;hpb=43c0c6462e47b39c9355a35ce8a3eeb51f669253
diff --git a/cmim.cc b/cmim.cc
index 0aa3b8d..44c4629 100644
--- a/cmim.cc
+++ b/cmim.cc
@@ -13,7 +13,7 @@
// along with this program. If not, see . //
// //
// Written by Francois Fleuret //
-// (C) Ecole Polytechnique Federale de Lausanne //
+// Copyright (C) Ecole Polytechnique Federale de Lausanne //
// Contact for comments & bug reports //
//////////////////////////////////////////////////////////////////////////////////
@@ -54,7 +54,7 @@ bool verbose = true;
bool balanced_error = false;
int nb_selected_features = 100;
-void check_opt(int argc, char **argv, int n_opt, int n, char *help) {
+void check_opt(int argc, char **argv, int n_opt, int n, const char *help) {
if(n_opt+n >= argc) {
cerr << "Missing argument for " << argv[n_opt] << ".\n";
cerr << "Expecting " << help << ".\n";