[Gmsh] Out of memory
    Mark van Doesburg 
    mark.van.doesburg at technolution.nl
       
    Fri Jun 12 13:57:45 CEST 2009
    
    
  
Hello,
Gmsh was complaining that I should buy more RAM... that seemed highly
unlikely and it turns out it was lying ;-)
Here's a patch.
regards,
Mark van Doesburg
-------------- next part --------------
--- orig/gmsh-2.3.1-cvs-20090608/Common/ListUtils.h	2008-12-30 00:02:54.000000000 +0100
+++ gmsh-2.3.1-cvs-20090608/Common/ListUtils.h	2009-06-11 10:37:44.000000000 +0200
@@ -13,10 +13,10 @@
 
 class List_T {
 public:
-  int nmax;
-  int size;
-  int incr;
-  int n;
+  size_t nmax;
+  size_t size;
+  size_t incr;
+  size_t n;
   int isorder;
   char *array;
 };