Ignore:
Timestamp:
Feb 15, 2017, 10:09:50 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
444cb5c
Parents:
7a462cc
Message:

bsps/powerpc: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/shared/src/stack.c

    r7a462cc r73f8d93  
    22#include <rtems/bspIo.h>
    33#include <libcpu/spr.h>
     4#include <inttypes.h>
    45
    56SPR_RO(PPC_LR)
     
    3738                if (i%5) printk("--> ");
    3839                else     printk("\n");
    39                 printk("0x%08x",stck[i]);
     40                printk("0x%08" PRIuPTR, (uintptr_t)stck[i]);
    4041        }
    4142        printk("\n");
Note: See TracChangeset for help on using the changeset viewer.