summaryrefslogtreecommitdiff
path: root/src/unix/system.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-07-25 21:43:09 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-07-25 21:43:09 +0400
commit7305a6a670c6c1af511b8b8ff18d10d61ee8516c (patch)
tree377b285315baf5e774ad4f418f53ee26471b050f /src/unix/system.c
parentcd26dea31185e2f9ba0989ce5fef092bd35460b2 (diff)
Fix arithmetic on void pointers.
Diffstat (limited to 'src/unix/system.c')
-rw-r--r--src/unix/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/system.c b/src/unix/system.c
index f2c4a3d..481f1f8 100644
--- a/src/unix/system.c
+++ b/src/unix/system.c
@@ -83,7 +83,7 @@ static int stdout_sleep(void)
// handles partial writes correctly, but never spins too much
// blocks for 100 ms before giving up and losing data
-static void stdout_write(const void *buf, size_t len)
+static void stdout_write(const char *buf, size_t len)
{
const char *what;
int ret, spins;