chiark / gitweb /
a few int -> unsigned fixes
[nlopt.git] / mma / mma.h
index 3b2c04021681b2e466230981e8a7dd1d902e8be2..9a4aacde003567c646714fb32c4b3d37bc442f19 100644 (file)
--- a/mma/mma.h
+++ b/mma/mma.h
@@ -31,10 +31,10 @@ extern "C"
 {
 #endif /* __cplusplus */
 
-extern int mma_verbose;
+extern unsigned mma_verbose;
 
-nlopt_result mma_minimize(int n, nlopt_func f, void *f_data,
-                         int m, nlopt_constraint *fc,
+nlopt_result mma_minimize(unsigned n, nlopt_func f, void *f_data,
+                         unsigned m, nlopt_constraint *fc,
                          const double *lb, const double *ub, /* bounds */
                          double *x, /* in: initial guess, out: minimizer */
                          double *minf,