summaryrefslogtreecommitdiffstats
path: root/src/polypcore/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/util.h')
-rw-r--r--src/polypcore/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polypcore/util.h b/src/polypcore/util.h
index a7c65381..2d5894c3 100644
--- a/src/polypcore/util.h
+++ b/src/polypcore/util.h
@@ -38,7 +38,7 @@ int pa_make_secure_dir(const char* dir);
int pa_make_secure_parent_dir(const char *fn);
ssize_t pa_read(int fd, void *buf, size_t count);
-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 pa_loop_read(int fd, void*data, size_t size);
ssize_t pa_loop_write(int fd, const void*data, size_t size);