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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Apr 19 18:53:09 EDT 2010


Author: matju
Date: Mon Apr 19 18:53:09 2010
New Revision: 5485

Log:
unsigned >> (encore)

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Mon Apr 19 18:53:09 2010
@@ -243,7 +243,7 @@
 	return t.tv_sec*1000000+t.tv_usec;
 }
 
-#define CONVERT0(z) ((in[z] >> chop[z]) << slide[z])
+#define CONVERT0(z) (((uint32)in[z] >> chop[z]) << slide[z])
 #define CONVERT1 t = CONVERT0(0) | CONVERT0(1) | CONVERT0(2)
 #define CONVERT2 for (t=0,i=0; i<self->size; i++) t |= CONVERT0(i);
 



More information about the Gridflow-cvs mailing list