From 4b06da6f0a19752907b074897037fdbeda78cbf3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 16 Jun 2010 16:59:43 +0000 Subject: [PATCH] =?UTF-8?q?2010-06-16=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libfs/src/rfs/rtems-rfs-buffer-bdbuf.c: Various 64bit fixes. --- cpukit/ChangeLog | 5 +++++ cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6aafa81cf7..f429ded70a 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2010-06-16 Ralf Corsépius + + * libfs/src/rfs/rtems-rfs-buffer-bdbuf.c: + Various 64bit fixes. + 2010-06-16 Ralf Corsépius PR 1556/cpukit diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c index b46bab8067..536b136ed6 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c @@ -20,6 +20,7 @@ #include "config.h" #endif +#include #include #include @@ -66,8 +67,8 @@ rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, int rc = 0; if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE)) - printf ("rtems-rfs: bdbuf-release: block=%lu bdbuf=%lu %s\n", - (rtems_rfs_buffer_block) ((intptr_t) buffer->user), + printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n", + ((intptr_t) buffer->user), buffer->block, modified ? "(modified)" : ""); if (modified)