From ef38e6caf38839e40a2d10461dae1d0add55605f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 26 Jul 2007 05:29:47 +0000 Subject: [PATCH] =?UTF-8?q?2007-07-26=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * nfsclient/src/rpcio.c: Use size_t instead of uint32_t for message sizes. --- c/src/ChangeLog | 5 +++++ c/src/nfsclient/src/rpcio.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/c/src/ChangeLog b/c/src/ChangeLog index a571e6129d..a745d2b80b 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,8 @@ +2007-07-26 Ralf Corsépius + + * nfsclient/src/rpcio.c: Use size_t instead of uint32_t for message + sizes. + 2007-07-25 Ralf Corsépius * configure.ac: Add nfsclient. diff --git a/c/src/nfsclient/src/rpcio.c b/c/src/nfsclient/src/rpcio.c index 63a0b35fe7..52b579d9e8 100644 --- a/c/src/nfsclient/src/rpcio.c +++ b/c/src/nfsclient/src/rpcio.c @@ -1137,7 +1137,7 @@ rtems_interval next_retrans, then, unow; long now; /* need to do signed comparison with age! */ rtems_event_set events; ListNode newList; -uint32_t size; +size_t size; rtems_id q = 0; ListNodeRec listHead = {0}; unsigned long epoch = RPCIOD_EPOCH_SECS * ticksPerSec; @@ -1535,7 +1535,7 @@ RpcUdpXact rpcUdpXactPoolGet(RpcUdpXactPool pool, XactPoolGetMode mode) { RpcUdpXact xact = 0; -uint32_t size; +size_t size; if (RTEMS_SUCCESSFUL != rtems_message_queue_receive( pool->box,