Changeset 8fe650 in git for omalloc/om_Alloc.c


Ignore:
Timestamp:
May 2, 2006, 1:39:03 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
Children:
fc11f4583f0780c252a03d9b7079efbb0029dbce
Parents:
c551fdc7a02e90492400d97decfdc027e6af25a9
Message:
*hannes: 64bit port, part 1


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

Legend:

Unmodified
Added
Removed
  • omalloc/om_Alloc.c

    rc551fdc r8fe650  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: om_Alloc.c,v 1.2 2001-04-30 09:02:12 Singular Exp $
     6 *  Version: $Id: om_Alloc.c,v 1.3 2006-05-02 11:39:03 Singular Exp $
    77 *******************************************************************/
    88#ifndef OM_ALLOC_C
     
    167167{
    168168  omBin bin;
    169   omAssume(page->used_blocks <= 0);
     169  omAssume(page->used_blocks <= 0L);
    170170
    171171#ifdef OM_HAVE_TRACK
    172   if (page->used_blocks < 0)
     172  if (page->used_blocks < 0L)
    173173  {
    174174    omFreeTrackAddr(addr);
     
    178178
    179179  bin = omGetBinOfPage(page);
    180   if (page->current != NULL || bin->max_blocks <= 1)
     180  if ((page->current != NULL) || (bin->max_blocks <= 1))
    181181  {
    182182    // all blocks of page are now collected
Note: See TracChangeset for help on using the changeset viewer.