diff src/ov-ch-mat.cc @ 6686:2aad75fcc93a

[project @ 2007-06-03 20:58:28 by dbateman]
author dbateman
date Sun, 03 Jun 2007 20:58:29 +0000
parents c20eb7330d13
children fa2f5d4e55db
line wrap: on
line diff
--- a/src/ov-ch-mat.cc	Sat Jun 02 11:39:42 2007 +0000
+++ b/src/ov-ch-mat.cc	Sun Jun 03 20:58:29 2007 +0000
@@ -105,11 +105,11 @@
 
   mxChar *pr = static_cast<mxChar *> (retval->get_data ());
 
-  int nel = numel ();
+  mwSize nel = numel ();
 
   const char *p = matrix.data ();
 
-  for (int i = 0; i < nel; i++)
+  for (mwIndex i = 0; i < nel; i++)
     pr[i] = p[i];
 
   return retval;