Changeset 4d59e4 in git


Ignore:
Timestamp:
Apr 30, 2001, 5:26:21 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fcc0c2c5c75175fab60c27d251a2e3a970603671
Parents:
13fe1bac96f68d4d7cf1801dc2db764cea629bcd
Message:
*hannes: omt-port to DecAlpha


git-svn-id: file:///usr/local/Singular/svn/trunk@5410 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omtTestAlloc.c

    r13fe1b r4d59e4  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omtTestAlloc.c,v 1.10 2001-04-30 09:02:14 Singular Exp $
     6 *  Version: $Id: omtTestAlloc.c,v 1.11 2001-04-30 15:26:21 Singular Exp $
    77 *******************************************************************/
    88#include "omtTest.h"
     
    152152  else if (bin != NULL && IS_FREE_BIN(spec))
    153153    omFreeBin(addr, bin);
    154   else if (IS_FREE_BINADDR(spec) && (bin != NULL || size <= OM_MAX_BLOCK_SIZE))
     154  else if (IS_FREE_BINADDR(spec) && (bin != NULL) && (size <= OM_MAX_BLOCK_SIZE))
    155155  {
    156156    omFreeBinAddr(addr);
     
    334334    TestAddrContent(new_addr, (IS_ZERO(old_spec) ? 0 : old_spec), min_size);
    335335    if (IS_ZERO(new_spec) &&  old_size < new_size)
    336       TestAddrContent(new_addr + old_size, 0, new_size - old_size);
     336      TestAddrContent((char *)new_addr + old_size, 0, new_size - old_size);
    337337  }
    338338
Note: See TracChangeset for help on using the changeset viewer.