IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8629


Ignore:
Timestamp:
Aug 25, 2006, 7:01:49 PM (20 years ago)
Author:
jhoblitt
Message:

amd64 string formatting fixes

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psRandom.c

    r8232 r8629  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-08-08 23:32:23 $
     12*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-08-26 05:01:49 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2323#include <gsl/gsl_rng.h>
    2424#include <gsl/gsl_randist.h>
     25#include <inttypes.h>
    2526
    2627#include "psMemory.h"
     
    5152
    5253    // Send log message of the system seed value used
    53     psLogMsg(__func__,PS_LOG_INFO,"System random seed value used  seed = %llX hex",seedVal);
     54    psLogMsg(__func__,PS_LOG_INFO,"System random seed value used  seed = %" PRIu64 " hex", seedVal);
    5455
    5556    return seedVal;
  • trunk/psLib/src/sys/psMemory.c

    r8627 r8629  
    88*  @author Robert Lupton, Princeton University
    99*
    10 *  @version $Revision: 1.80 $ $Name: not supported by cvs2svn $
    11 *  @date $Date: 2006-08-26 04:34:28 $
     10*  @version $Revision: 1.81 $ $Name: not supported by cvs2svn $
     11*  @date $Date: 2006-08-26 05:01:49 $
    1212*
    1313*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    437437            ptr = memExhaustedCallback(size);
    438438            if (ptr == NULL) {
    439                 psAbort(__func__, "Failed to allocate %u bytes at %s:%d", size, file, lineno);
     439                psAbort(__func__, "Failed to allocate %zd bytes at %s:%d", size, file, lineno);
    440440            }
    441441        }
Note: See TracChangeset for help on using the changeset viewer.