diff Renderer/Engine/task/DataAllocate.cc @ 992:1b018a00cd17

task/DataAllocate.cc is changed for fifo64.
author tkaito
date Mon, 11 Oct 2010 19:42:28 +0900
parents 0b6f8c82625a
children
line wrap: on
line diff
--- a/Renderer/Engine/task/DataAllocate.cc	Fri Oct 01 04:43:02 2010 +0900
+++ b/Renderer/Engine/task/DataAllocate.cc	Mon Oct 11 19:42:28 2010 +0900
@@ -10,7 +10,7 @@
 run(SchedTask *s, void *rbuf, void *wbuf)
 {
 
-  int count = (int)s->get_param(0);
+  int count = (long)s->get_param(0);
   for(int i=0;i<count;i++) {
       void *idata = s->get_input(rbuf, i);
       long size = (long)s->get_param(i*2+1);