# HG changeset patch # User Daichi Toma # Date 1318908308 -32400 # Node ID 247da1f5e625eedbbcc307e19c59b086d99236f6 # Parent 2dfac651288eb7a0e95fa2cb2e6eff9a0365d1b5 fix diff -r 2dfac651288e -r 247da1f5e625 example/Prime/ppe/PrintTask.cc --- 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"); diff -r 2dfac651288e -r 247da1f5e625 example/Prime/spe/PrintTask.cc --- 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");