IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2006, 4:17:17 PM (20 years ago)
Author:
Paul Price
Message:

Need to print %zd for size_t arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.c

    r8525 r8540  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.78 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-08-23 22:53:09 $
     10*  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-08-24 02:17:17 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    12511251
    12521252    if (print) {
    1253         printf("Allocated  %6s  %10d %8d\n", "", alloc, nalloc);
    1254         printf("Persistent %6s  %10d %8d\n", "", persist, npersist);
     1253        printf("Allocated  %6s  %10zd %8zd\n", "", alloc, nalloc);
     1254        printf("Persistent %6s  %10zd %8zd\n", "", persist, npersist);
    12551255    }
    12561256    /*
     
    12831283
    12841284    if (print) {
    1285         printf("Freelist   %6s  %10d %8d\n", "", *freelist, nblock_tot);
     1285        printf("Freelist   %6s  %10zd %8d\n", "", *freelist, nblock_tot);
    12861286    }
    12871287
Note: See TracChangeset for help on using the changeset viewer.