Changeset 5cd910b in rtems


Ignore:
Timestamp:
Mar 18, 2015, 3:42:14 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
6442d54d
Parents:
5ce776ec
git-author:
Joel Sherrill <joel.sherrill@…> (03/18/15 15:42:14)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/22/15 15:29:57)
Message:

cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/hexdump-conv.c

    r5ce776ec r5cd910b  
    143143                        if (pad < 0)
    144144                                pad = 0;
    145                           (void)printf("%*s%lc", pad, "", wc);
     145                          #if defined(__rtems__)
     146                            (void)printf("%*s%lc", pad, "", (wint_t)wc);
     147                          #else
     148                            (void)printf("%*s%lc", pad, "", wc);
     149                          #endif
    146150                        pr->mbleft = clen - 1;
    147151                }
Note: See TracChangeset for help on using the changeset viewer.