Changeset dfa6882c in rtems


Ignore:
Timestamp:
Sep 30, 2009, 5:12:35 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
4a039cdb
Parents:
c92b69c
Message:

Comment out checkMallocArena (unused).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/malloc_boundary.c

    rc92b69c rdfa6882c  
    7676  void *return_this;
    7777  struct mallocNode *mp = (struct mallocNode *)pointer;
    78   int *fp, *nfp, i;
     78  int *fp, *nfp;
     79  int i;
    7980
    8081  _RTEMS_Lock_allocator();
     
    8687      mp->callChain[i] = fp[1];
    8788      nfp = (int *)(fp[0]);
    88       if((nfp <= fp) || (nfp > (int *)(1 << 24)))
     89      if((nfp <= fp) || (nfp > (int *)((intptr_t)1 << 24)))
    8990       break;
    9091      fp = nfp;
     
    179180}
    180181
     182#if UNUSED
    181183static void checkMallocArena(void)
    182184{
     
    193195  _RTEMS_Unlock_allocator();
    194196}
    195 
    196 #endif
    197 #endif
     197#endif
     198
     199#endif
     200#endif
Note: See TracChangeset for help on using the changeset viewer.