some cmake fixes for windows and GSL

This commit is contained in:
Gael Guennebaud
2008-12-17 17:50:43 +00:00
parent c98fe0185e
commit 4cb63808d4
2 changed files with 7 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ int main(int argc, char *argv[])
std::cout << "Argument " << argv[i] << " conflicting with a former argument" << std::endl;
return 1;
}
seed = strtoul(argv[i]+1, 0, 10);
seed = int(strtoul(argv[i]+1, 0, 10));
has_set_seed = true;
bool ok = seed!=0;
if(!ok)