Changeset aee5d63 in rtems


Ignore:
Timestamp:
Oct 10, 2014, 7:21:29 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d7a267b3
Parents:
78a38fa2
git-author:
Sebastian Huber <sebastian.huber@…> (10/10/14 07:21:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/10/14 07:45:42)
Message:

bsps/powerpc: Fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_alignment.c

    r78a38fa2 raee5d63  
    2525    unsigned a = (opcode >> 16) & 0x1f;
    2626    unsigned b = (opcode >> 11) & 0x1f;
    27     unsigned *regs = &frame->GPR0;
    28     unsigned *current = (unsigned *)
     27    PPC_GPR_TYPE *regs = &frame->GPR0;
     28    PPC_GPR_TYPE *current = (PPC_GPR_TYPE *)
    2929      (((a == 0 ? 0 : regs [a]) + regs [b]) & (clsz - 1));
    30     unsigned *end = current + clsz / 4;
     30    PPC_GPR_TYPE *end = current + clsz / sizeof(PPC_GPR_TYPE);
    3131
    3232    while (current != end) {
Note: See TracChangeset for help on using the changeset viewer.