IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2006, 3:10:09 PM (20 years ago)
Author:
Paul Price
Message:

Fixing formats for long ints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacCheckMemory.c

    r8783 r8843  
    1515    psLogMsg("stac.memoryPrint", PS_LOG_INFO,
    1616             "Memory block %lu:\n"
    17              "\tFile %s, line %d, size %d\n"
     17             "\tFile %s, line %d, size %zd\n"
    1818             "\tPosts: %p %p %p\n",
    1919             ptr->id, ptr->file, ptr->lineno, ptr->userMemorySize, ptr->startblock, ptr->endblock,
     
    3030    psLogMsg("stac.checkMemory.corruption", PS_LOG_WARN,
    3131             "Memory corruption detected in memBlock %lu\n"
    32              "\tFile %s, line %d, size %d\n"
     32             "\tFile %s, line %d, size %zd\n"
    3333             "\tPosts: %p %p %p\n",
    3434             ptr->id, file, lineno, ptr->userMemorySize, ptr->startblock, ptr->endblock,
     
    5757        psLogMsg("stac.checkMemory.leaks", PS_LOG_WARN,
    5858                 "Memory leak detection: memBlock %lu\n"
    59                  "\tFile %s, line %d, size %d\n",
     59                 "\tFile %s, line %d, size %zd\n",
    6060                 leaks[i]->id, leaks[i]->file, leaks[i]->lineno, leaks[i]->userMemorySize);
    6161    }
Note: See TracChangeset for help on using the changeset viewer.