summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2008-01-15 15:40:31 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2008-01-15 15:40:31 -0500
commitc8a9cf81039d2f3ddd8651880028cf9ac8ec7f05 (patch)
tree239fea5abe61c56b4c9bc87363623070592bc17f /dbus
parent97872bf72ff327855e2e86a4760348cd2ca03b9e (diff)
use correct ssize_t type instead of size_t (FDO Bug #12862)
2008-01-15 John (J5) Palmieri <johnp@redhat.com> * patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com> * dbus/dbus-spawn.c (read_ints, read_pid): use correct ssize_t type instead of size_t (FDO Bug #12862)
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-spawn.c4
1 files changed, 2 insertions, 2 deletions
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;