Changeset 560db810 in rtems


Ignore:
Timestamp:
May 31, 2016, 7:37:17 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
d84e346
Parents:
23213135
git-author:
Chris Johns <chrisj@…> (05/31/16 07:37:17)
git-committer:
Chris Johns <chrisj@…> (06/03/16 07:28:59)
Message:

libmisc/stackchk: Fix printk warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/stackchk/check.c

    r23213135 r560db810  
    233233
    234234  printk("BLOWN STACK!!!\n");
    235   printk("task control block: 0x%08" PRIxPTR "\n", running);
     235  printk("task control block: 0x%08" PRIxPTR "\n", (intptr_t) running);
    236236  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);
    237237  printk(
     
    246246    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    247247    (unsigned long) stack->size,
    248     stack->area,
    249     ((char *) stack->area + stack->size)
     248    (intptr_t) stack->area,
     249    (intptr_t) ((char *) stack->area + stack->size)
    250250  );
    251251  if (!pattern_ok) {
     
    253253      "damaged pattern area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    254254      (unsigned long) PATTERN_SIZE_BYTES,
    255       pattern_area,
    256       (pattern_area + PATTERN_SIZE_BYTES)
     255      (intptr_t) pattern_area,
     256      (intptr_t) (pattern_area + PATTERN_SIZE_BYTES)
    257257    );
    258258  }
     
    262262      printk(
    263263        "node: 0x%08" PRIxPTR "\n",
    264           rtems_configuration_get_user_multiprocessing_table()->node
     264          (intptr_t) rtems_configuration_get_user_multiprocessing_table()->node
    265265      );
    266266    }
Note: See TracChangeset for help on using the changeset viewer.