diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-16 16:59:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-16 16:59:43 +0000 |
commit | 4b06da6f0a19752907b074897037fdbeda78cbf3 (patch) | |
tree | c5175eb82b9708cac10c1856e988941c95505f0c /cpukit | |
parent | 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4b06da6f0a19752907b074897037fdbeda78cbf3.tar.bz2 |
2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-buffer-bdbuf.c:
Various 64bit fixes.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | 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,5 +1,10 @@ 2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> + * libfs/src/rfs/rtems-rfs-buffer-bdbuf.c: + Various 64bit fixes. + +2010-06-16 Ralf Corsépius <ralf.corsepius@rtems.org> + PR 1556/cpukit * libfs/src/rfs/rtems-rfs-bitmaps.h, libfs/src/rfs/rtems-rfs-block-pos.h, 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 <inttypes.h> #include <errno.h> #include <rtems/rfs/rtems-rfs-buffer.h> @@ -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) |