Mercurial > hg > Members > kono > Cerium
diff example/HelloWorld/ppe/Hello.cc @ 625:60aa3f241b10
64bit mode worked on Mac OS X.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2009 10:59:55 +0900 |
parents | 44c0bce54dcf |
children | bba03a6843ba |
line wrap: on
line diff
--- a/example/HelloWorld/ppe/Hello.cc Sun Nov 15 04:56:09 2009 +0900 +++ b/example/HelloWorld/ppe/Hello.cc Mon Nov 16 10:59:55 2009 +0900 @@ -9,7 +9,7 @@ static int run(SchedTask *smanager, void *rbuf, void *wbuf) { - int task_id = smanager->get_param(0); + int task_id = (long)smanager->get_param(0); smanager->printf("[%d] Hello, World!!\n", task_id);