diff examples/mypow2.c @ 6686:2aad75fcc93a

[project @ 2007-06-03 20:58:28 by dbateman]
author dbateman
date Sun, 03 Jun 2007 20:58:29 +0000
parents 3da1f4a41455
children 4270ded9ddc6
line wrap: on
line diff
--- a/examples/mypow2.c	Sat Jun 02 11:39:42 2007 +0000
+++ b/examples/mypow2.c	Sun Jun 03 20:58:29 2007 +0000
@@ -3,7 +3,8 @@
 void
 mexFunction (int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[])
 {
-  int i, n;
+  mwIndex i;
+  mwSize n;
   double *vri, *vro;
   
   if (nrhs != 1 || ! mxIsNumeric (prhs[0]))