summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-18 22:05:46 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:02 -0700
commit93481fd3d9305a107b88c8a64de4194a6d94dc0e (patch)
tree300cb54dac31fa9ce643dd596dcad047ed437abd /src
parent8ba5344514f8ed51f6fd69ca09f6c7035c4fd0da (diff)
Incorrect type in ao_task_info for wchan
Would truncate 32-bit pointers on arm. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/ao_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_task.c b/src/core/ao_task.c
index a19a6a6f..d7d0e8a2 100644
--- a/src/core/ao_task.c
+++ b/src/core/ao_task.c
@@ -164,7 +164,7 @@ ao_task_info(void)
task = ao_tasks[i];
printf("%12s: wchan %04x\n",
task->name,
- (int16_t) task->wchan);
+ (int) task->wchan);
}
}