Changeset 65807379 in rtems


Ignore:
Timestamp:
Apr 26, 2017, 1:01:41 AM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
03e4be1
Parents:
ab77827
git-author:
Joel Sherrill <joel@…> (04/26/17 01:01:41)
git-committer:
Joel Sherrill <joel@…> (04/26/17 01:02:16)
Message:

score/cpu/or1k/or1k-exception-frame-print.c: Fix printf() format warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/or1k/or1k-exception-frame-print.c

    rab77827 r65807379  
    1313#include <rtems/score/cpu.h>
    1414#include <rtems/bspIo.h>
     15#include <inttypes.h>
    1516
    1617void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
    1718{
    18   uint32_t i;
     19  int i;
     20
    1921  for ( i = 0; i < 32; ++i ) {
    20       printk( "r%02i = 0x%016x\n",i, frame->r[i]);
     22      printk( "r%02i = 0x%016" PRIx32 "\n",i, frame->r[i]);
    2123  }
    2224}
Note: See TracChangeset for help on using the changeset viewer.