summaryrefslogtreecommitdiffstats
path: root/src/polypcore/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/util.c')
-rw-r--r--src/polypcore/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/util.c b/src/polypcore/util.c
index beb93f45..c1f82a20 100644
--- a/src/polypcore/util.c
+++ b/src/polypcore/util.c
@@ -220,7 +220,7 @@ ssize_t pa_read(int fd, void *buf, size_t count) {
}
/** Similar to pa_read(), but handles writes */
-ssize_t pa_write(int fd, void *buf, size_t count) {
+ssize_t pa_write(int fd, const void *buf, size_t count) {
ssize_t r;
#ifdef OS_IS_WIN32