--- libaitsched/example/test.c 2012/09/10 15:07:52 1.11 +++ libaitsched/example/test.c 2013/08/15 15:03:32 1.11.8.1 @@ -36,14 +36,14 @@ void *timer(sched_task_t *arg) void *r(sched_task_t *arg) { - printf("read:: %d bytes wait\n", TASK_RET(arg)); + printf("read:: %ld bytes wait\n", (long) TASK_RET(arg)); Kill++; taskExit(arg, NULL); } void *w(sched_task_t *arg) { - printf("write:: %d bytes wait\n", TASK_RET(arg)); + printf("write:: %ld bytes wait\n", (long) TASK_RET(arg)); taskExit(arg, NULL); }