summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/console/console.c')
-rw-r--r--c/src/lib/libbsp/powerpc/psim/console/console.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/console/console.c b/c/src/lib/libbsp/powerpc/psim/console/console.c
index 6024fc6479..161ead99a2 100644
--- a/c/src/lib/libbsp/powerpc/psim/console/console.c
+++ b/c/src/lib/libbsp/powerpc/psim/console/console.c
@@ -91,7 +91,11 @@ void DEBUG_puts(
*
*/
-int console_write_support (int minor, const void *bufarg, int len)
+int console_write_support (
+ int minor,
+ const char *bufarg,
+ int len
+)
{
int nwrite = 0;
const char *buf = bufarg;