diff example/Prime/ppe/PrintTask.cc @ 1189:898fdcf53c31 draft

add SemMailManager
author Daichi TOMA
date Fri, 08 Jul 2011 18:34:18 +0900
parents d910c8377a09
children 7909536bf611
line wrap: on
line diff
--- a/example/Prime/ppe/PrintTask.cc	Thu Jul 07 13:50:56 2011 +0900
+++ b/example/Prime/ppe/PrintTask.cc	Fri Jul 08 18:34:18 2011 +0900
@@ -8,7 +8,7 @@
 	static int
 print(SchedTask *smanager, void *rbuf, void *wbuf)
 {
-	int length = (int)smanager->get_param(0);			/* 出力する範囲 */
+	int length = (long)smanager->get_param(0);			/* 出力する範囲 */
 	int *input = (int*)smanager->get_input(rbuf, 0);	/* 出力する配列 */
 
 	/* 素数の判定結果が1ならば出力する */