[Gridflow-cvs] [svn] commit: r6397 - /trunk/src/gridflow.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Wed Oct 6 20:01:50 EDT 2010


Author: matju
Date: Wed Oct  6 20:01:50 2010
New Revision: 6397

Log:
avoid rlim_t warning on OSX 10.4

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Wed Oct  6 20:01:50 2010
@@ -1029,9 +1029,9 @@
     error("GF: getrlimit: %s",strerror(errno));
   happy.rlim_cur = happy.rlim_max;
   if (0>setrlimit(RLIMIT_STACK,&happy))
-    error("GF: setting stack size to %ld: %s",happy.rlim_cur,strerror(errno));
+    error("GF: setting stack size to %ld: %s",long(happy.rlim_cur),strerror(errno));
   else
-    post( "GF: setting stack size to %ld",happy.rlim_cur);
+    post( "GF: setting stack size to %ld",long(happy.rlim_cur));
 #endif
 }
 



More information about the Gridflow-cvs mailing list