Ignore:
Timestamp:
Sep 4, 2014, 8:39:41 PM (7 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
f535fe53
Parents:
6cd2074
git-author:
Joel Sherrill <joel.sherrill@…> (09/04/14 20:39:41)
git-committer:
Joel Sherrill <joel.sherrill@…> (09/16/14 21:09:13)
Message:

Revert: rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings

This may actually be a problem in inttypes.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/rfs/rtems-rfs-buffer.c

    r6cd2074 rf641b15  
    5353
    5454    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))
    55       printf ("%p ", buffer->user);
     55      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));
    5656
    5757    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
    5858    {
    5959      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))
    60         printf (": found block=%p\n", buffer->user);
     60        printf (": found block=%" PRIuPTR "\n",
     61                ((intptr_t)(buffer->user)));
    6162
    6263      (*count)--;
Note: See TracChangeset for help on using the changeset viewer.