Commit c8a9cf81 authored by John Palmieri's avatar John Palmieri

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)
parent 97872bf7
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)
2008-01-15 John (J5) Palmieri <johnp@redhat.com>
* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment