IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2004, 3:56:52 PM (22 years ago)
Author:
desonia
Message:

updated the out of memory test to use INT_MAX instead of LONG_MAX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psMemory.c

    r829 r846  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-06-02 20:02:42 $
     8 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-06-04 01:56:51 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    168168    cb = psMemExhaustedCallbackSet(TPOutOfMemoryExhaustedCallback);
    169169
    170     mem1 = (int*) psAlloc(LONG_MAX/2);
    171     mem2 = (int*) psAlloc(LONG_MAX/2);
    172     mem3 = (int*) psAlloc(LONG_MAX/2);
    173     mem4 = (int*) psAlloc(LONG_MAX/2);
     170    mem1 = (int*) psAlloc(INT_MAX);
     171    mem2 = (int*) psAlloc(INT_MAX);
     172    mem3 = (int*) psAlloc(INT_MAX);
     173    mem4 = (int*) psAlloc(INT_MAX);
    174174
    175175    psMemExhaustedCallbackSet(cb);
Note: See TracChangeset for help on using the changeset viewer.