aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--picohttp.c2
-rw-r--r--picohttp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/picohttp.c b/picohttp.c
index a532c69..84e0238 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -1071,7 +1071,7 @@ int picohttpResponseSendHeaders (
int picohttpResponseWrite (
struct picohttpRequest * const req,
size_t len,
- char const *buf )
+ void const *buf )
{
int e;
diff --git a/picohttp.h b/picohttp.h
index 644761f..83cb5f2 100644
--- a/picohttp.h
+++ b/picohttp.h
@@ -170,7 +170,7 @@ int picohttpResponseSendHeader (
int picohttpResponseWrite (
struct picohttpRequest * const req,
size_t len,
- char const *buf );
+ void const *buf );
int picohttpGetch(struct picohttpRequest * const req);