IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2007, 12:14:48 PM (19 years ago)
Author:
jhoblitt
Message:

merge jch-memory branch - overhaul of memory subsystem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psAssert.h

    r11248 r11265  
    1919    psMemBlock *mb = (psMemBlock*)(NAME) - 1; \
    2020    if (mb->startblock != P_PS_MEMMAGIC || mb->endblock != P_PS_MEMMAGIC || \
    21             *(psPtr *)((int8_t *) (mb + 1) + mb->userMemorySize) != P_PS_MEMMAGIC) { \
     21            *(psU32 *)((char *)(mb + 1) + mb->userMemorySize) != P_PS_MEMMAGIC) { \
    2222        psError(PS_ERR_MEMORY_CORRUPTION, false, \
    2323                "Error: Pointer %s is corrupted or not on the PS memory system.", \
Note: See TracChangeset for help on using the changeset viewer.