chiark / gitweb /
Use trusty
[nlopt.git] / cdirect / cdirect.h
index b9b08b4cfdc818a9d271343070bc235ebac97083..69acb588aa8328516f8aefc29c3211ac3bd69507 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2008 Massachusetts Institute of Technology
+/* Copyright (c) 2007-2014 Massachusetts Institute of Technology
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -71,7 +71,7 @@ typedef struct {
      double *x;
      const double *lb, *ub;
 } cdirect_uf_data;
-extern double cdirect_uf(int n, const double *xu, double *grad, void *d_);
+extern double cdirect_uf(unsigned n, const double *xu, double *grad, void *d_);
 
 #ifdef __cplusplus
 }  /* extern "C" */