changeset 1233:247da1f5e625 draft

fix
author Daichi Toma <amothic@gmail.com>
date Tue, 18 Oct 2011 12:25:08 +0900
parents 2dfac651288e
children be0eb46dd20a
files example/Prime/ppe/PrintTask.cc example/Prime/spe/PrintTask.cc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/example/Prime/ppe/PrintTask.cc	Tue Oct 18 12:19:17 2011 +0900
+++ b/example/Prime/ppe/PrintTask.cc	Tue Oct 18 12:25:08 2011 +0900
@@ -20,7 +20,7 @@
 	/* 素数の判定結果が1ならば出力する */
 	for (long i = 0; i < length; i++) {
 		if ( input[i] == true ) {
-			printf("%d ",i);
+			printf("%ld ",i);
 		}
 	}
 	printf("\n");
--- a/example/Prime/spe/PrintTask.cc	Tue Oct 18 12:19:17 2011 +0900
+++ b/example/Prime/spe/PrintTask.cc	Tue Oct 18 12:25:08 2011 +0900
@@ -20,7 +20,7 @@
 	/* 素数の判定結果が1ならば出力する */
 	for (long i = 0; i < length; i++) {
 		if ( input[i] == true ) {
-			printf("%d ",i);
+			printf("%ld ",i);
 		}
 	}
 	printf("\n");