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/mpc6xx/mmu/pte121.c

    r7a462cc r73f8d93  
    183183#ifdef __rtems__
    184184/* must not use printf until multitasking is up */
    185 typedef void (*PrintF) (const char *, ...);
     185typedef int (*PrintF) (const char *, ...);
    186186static PrintF
    187187whatPrintf (void)
    188188{
    189   return _Thread_Executing ? (PrintF) printf : printk;
     189  return _Thread_Executing ? printf : printk;
    190190}
    191191
Note: See TracChangeset for help on using the changeset viewer.