IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2004, 4:17:32 PM (22 years ago)
Author:
desonia
Message:

modified error message to treat memory allocation sizes as unsigned.

File:
1 edited

Legend:

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

    r849 r850  
    88 *  @author Robert Lupton, Princeton University
    99 *
    10  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2004-06-04 02:09:13 $
     10 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2004-06-04 02:17:32 $
    1212 *
    1313 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    249249        ptr = memExhaustedCallback(size);
    250250        if (ptr == NULL) {
    251             psAbort(__func__, "Failed to allocate %ld bytes at %s:%d",
     251            psAbort(__func__, "Failed to allocate %u bytes at %s:%d",
    252252                    size, file, lineno);
    253253        }
    254254    }
    255 
    256255
    257256    // increment the memory id safely.
Note: See TracChangeset for help on using the changeset viewer.