Index: trunk/stac/src/stacCheckMemory.c
===================================================================
--- trunk/stac/src/stacCheckMemory.c	(revision 5745)
+++ trunk/stac/src/stacCheckMemory.c	(revision 8684)
@@ -10,7 +10,7 @@
 {
     psLogMsg("stac.memoryPrint", PS_LOG_INFO,
-             "Memory block %d:\n"
+             "Memory block %lu:\n"
              "\tFile %s, line %d, size %d\n"
-             "\tPosts: %x %x %x\n",
+             "\tPosts: %p %p %p\n",
              ptr->id, ptr->file, ptr->lineno, ptr->userMemorySize, ptr->startblock, ptr->endblock,
              *(void**)((int8_t *)(ptr + 1) + ptr->userMemorySize));
@@ -25,7 +25,7 @@
 {
     psLogMsg("stac.checkMemory.corruption", PS_LOG_WARN,
-             "Memory corruption detected in memBlock %d\n"
+             "Memory corruption detected in memBlock %lu\n"
              "\tFile %s, line %d, size %d\n"
-             "\tPosts: %x %x %x\n",
+             "\tPosts: %p %p %p\n",
              ptr->id, file, lineno, ptr->userMemorySize, ptr->startblock, ptr->endblock,
              (ptr + 1 + ptr->userMemorySize));
@@ -52,5 +52,5 @@
     for (int i = 0; i < nLeaks; i++) {
         psLogMsg("stac.checkMemory.leaks", PS_LOG_WARN,
-                 "Memory leak detection: memBlock %d\n"
+                 "Memory leak detection: memBlock %lu\n"
                  "\tFile %s, line %d, size %d\n",
                  leaks[i]->id, leaks[i]->file, leaks[i]->lineno, leaks[i]->userMemorySize);
