diff options
author | Jeffrey Stedfast <fejj@gnome.org> | 2011-05-06 05:01:33 +0400 |
---|---|---|
committer | Jeffrey Stedfast <fejj@gnome.org> | 2011-05-06 05:02:04 +0400 |
commit | 402cabb88071a4ee8672c57766367d322a28f8d7 (patch) | |
tree | 81308af9fc03de81e37dc3dfec69ecc23bc3d630 /eglib | |
parent | ccca650fd529277fb96c949a9f3b0c5660356d83 (diff) |
Fix the build for Windows (use int instead of ssize_t)
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/src/gspawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eglib/src/gspawn.c b/eglib/src/gspawn.c index fc127b3f8a3..4f4e5bef539 100644 --- a/eglib/src/gspawn.c +++ b/eglib/src/gspawn.c @@ -188,12 +188,12 @@ create_pipe (int *fds, GError **error) } #endif /* G_OS_WIN32 */ -static ssize_t +static int write_all (int fd, const void *vbuf, size_t n) { const char *buf = (const char *) vbuf; size_t nwritten = 0; - ssize_t w; + int w; do { do { |