[Gridflow-cvs] [svn] commit: r4202 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Mon Aug 31 13:42:17 EDT 2009


Author: matju
Date: Mon Aug 31 13:42:15 2009
New Revision: 4202

Log:
fix for... probably a 64-bit issue involving typesizes

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Mon Aug 31 13:42:15 2009
@@ -777,7 +777,7 @@
 					av[j++] = binbuf_getvec(buf)[0];
 				} else {
 					char ss[MAXPDSTRING];
-					int n = min(se-s,MAXPDSTRING-1);
+					int n = min(long(se-s),long(MAXPDSTRING-1));
 					sprintf(ss,"%.*s",n,s);
 					SETSYMBOL(av+j,gensym(ss)); j++; // av[j++] = gensym(s);
 				}



More information about the Gridflow-cvs mailing list