diff options
author | Andrey Nazarov <skuller@skuller.net> | 2012-07-25 21:43:09 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2012-07-25 21:43:09 +0400 |
commit | 7305a6a670c6c1af511b8b8ff18d10d61ee8516c (patch) | |
tree | 377b285315baf5e774ad4f418f53ee26471b050f /src/unix/system.c | |
parent | cd26dea31185e2f9ba0989ce5fef092bd35460b2 (diff) |
Fix arithmetic on void pointers.
Diffstat (limited to 'src/unix/system.c')
-rw-r--r-- | src/unix/system.c | 2 |
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; |