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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat May 29 20:00:51 EDT 2010


Author: matju
Date: Sat May 29 20:00:50 2010
New Revision: 5690

Log:
fix warnings 64-bit

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Sat May 29 20:00:50 2010
@@ -937,9 +937,9 @@
 		char *a = strchr(symbols[i],'(');
 		char *b = strchr(symbols[i],'+');
 		if (a&&b) {
-			char mangled[1024]; sprintf(mangled,"%.*s",b-a-1,a+1);
+			char mangled[1024]; sprintf(mangled,"%.*s",int(b-a-1),a+1);
 			if (abi::__cxa_demangle(mangled,demangled,&length,&status))
-				j+=sprintf(buf+j,"%s%.*s",i>start?", \n  ":"[",length,demangled);
+				j+=sprintf(buf+j,"%s%.*s",i>start?", \n  ":"[",int(length),demangled);
 			else
 			j+=sprintf(buf+j,"%s%s",  i>start?", \n  ":"[",symbols[i]);
 		}



More information about the Gridflow-cvs mailing list