changeset 995:db3abe599dac draft

merge
author yutaka@charles.cr.ie.u-ryukyu.ac.jp
date Mon, 11 Oct 2010 14:22:09 +0900
parents 56c3b9dd37a7 (current diff) 0c98aa499b0f (diff)
children bac3b0afc3e8
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);