From 7305a6a670c6c1af511b8b8ff18d10d61ee8516c Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Wed, 25 Jul 2012 21:43:09 +0400 Subject: Fix arithmetic on void pointers. --- src/unix/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unix/system.c') 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; -- cgit v1.2.3