From c8a9cf81039d2f3ddd8651880028cf9ac8ec7f05 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Tue, 15 Jan 2008 15:40:31 -0500 Subject: use correct ssize_t type instead of size_t (FDO Bug #12862) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-01-15 John (J5) Palmieri * patch by Kimmo Hämäläinen * dbus/dbus-spawn.c (read_ints, read_pid): use correct ssize_t type instead of size_t (FDO Bug #12862) --- dbus/dbus-spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-spawn.c') diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c index 68596cf3..52d3eef0 100644 --- a/dbus/dbus-spawn.c +++ b/dbus/dbus-spawn.c @@ -73,7 +73,7 @@ read_ints (int fd, while (TRUE) { size_t chunk; - size_t to_read; + ssize_t to_read; to_read = sizeof (int) * n_ints_in_buf - bytes; @@ -128,7 +128,7 @@ read_pid (int fd, while (TRUE) { size_t chunk; - size_t to_read; + ssize_t to_read; to_read = sizeof (pid_t) - bytes; -- cgit