aboutsummaryrefslogtreecommitdiffstats
path: root/sync_pipe_write.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-12-26 12:14:59 +0000
committerGuy Harris <guy@alum.mit.edu>2012-12-26 12:14:59 +0000
commitec5a6f8c5e93048f1b8d805d6858b0c8b49a30c8 (patch)
treec1a352c4f479768108474ca27a491ef87f95c473 /sync_pipe_write.c
parentb467ecfc8b5920e9676a7df034c46b0441b1cf0b (diff)
pipe_write_header() should return ssize_t, as it returns the return
value from write(), which, at least on UN*X, is ssize_t. svn path=/trunk/; revision=46779
Diffstat (limited to 'sync_pipe_write.c')
-rw-r--r--sync_pipe_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_pipe_write.c b/sync_pipe_write.c
index 40bb2c1ce8..b18adedd19 100644
--- a/sync_pipe_write.c
+++ b/sync_pipe_write.c
@@ -43,7 +43,7 @@
/* write a single message header to the recipient pipe */
-size_t
+ssize_t
pipe_write_header(int pipe_fd, char indicator, int length)
{
guchar header[1+3]; /* indicator + 3-byte len */