[Gridflow-cvs] [svn] commit: r6099 - /trunk/src/classes3.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Aug 14 19:58:26 EDT 2010


Author: matju
Date: Sat Aug 14 19:58:26 2010
New Revision: 6099

Log:
fix post() warnings (when post() warnings are enabled using gcc's __attribute__)

Modified:
    trunk/src/classes3.cxx

Modified: trunk/src/classes3.cxx
==============================================================================
--- trunk/src/classes3.cxx (original)
+++ trunk/src/classes3.cxx Sat Aug 14 19:58:26 2010
@@ -77,7 +77,7 @@
 		COPY((T *)*blah+i,data,chans);
 		data+=chans; n-=chans; size++;
 	}
-	if (n>0) post("[#to~] buffer full: dropped %d samples",n/chans);
+	if (n>0) post("[#to~] buffer full: dropped %ld samples",long(n/chans));
 } GRID_FINISH {
 	//post("[#to~] buffer size : %d out of 16384",size);
 } GRID_END



More information about the Gridflow-cvs mailing list