changeset 995:143e4f9af7be

merge
author yutaka@charles.cr.ie.u-ryukyu.ac.jp
date Mon, 11 Oct 2010 14:22:09 +0900
parents 33616b2789de (current diff) 1b018a00cd17 (diff)
children 78ebcdaae8bc
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/task/DataAllocate.cc	Mon Oct 11 14:21:02 2010 +0900
+++ b/Renderer/Engine/task/DataAllocate.cc	Mon Oct 11 14:22:09 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);