summaryrefslogtreecommitdiff
path: root/c_src/fsynchelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/fsynchelper.c')
-rw-r--r--c_src/fsynchelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/fsynchelper.c b/c_src/fsynchelper.c
index 6ffa80a..2a942be 100644
--- a/c_src/fsynchelper.c
+++ b/c_src/fsynchelper.c
@@ -32,7 +32,7 @@ main()
/* XXX: exits when command size is 0 */
- while ((len = read_command(buf, sizeof(buf)-1)) > 0) {
+ while ((len = read_command((unsigned char *)buf, sizeof(buf)-1, 2)) > 0) {
buf[len] = '\0';
while (1) {
int fd;