Changeset 1aeec4 in git for omalloc


Ignore:
Timestamp:
Feb 13, 2007, 6:19:45 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9a26cb0ddc5a028ba02a4f2087848c04e7ea6035
Parents:
8ba479fe0a7803517518a3027a868e9a7523a75a
Message:
*hannes:signs


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

Legend:

Unmodified
Added
Removed
  • omalloc/omDebug.h

    r8ba479 r1aeec4  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 7/00
    6  *  Version: $Id: omDebug.h,v 1.15 2003-05-12 14:45:32 Singular Exp $
     6 *  Version: $Id: omDebug.h,v 1.16 2007-02-13 17:19:45 Singular Exp $
    77 *******************************************************************/
    88#ifndef OM_DEBUG_H
     
    8989#define omGetUsedBlocksOfPage(page)     (page->used_blocks)
    9090#else
    91 #define omGetUsedBlocksOfPage(page)     (page->used_blocks & ~(((unsigned long) 1) << (BIT_SIZEOF_LONG -1)))
     91#define omGetUsedBlocksOfPage(page)     ((long)(page->used_blocks & ~(((unsigned long) 1) << (BIT_SIZEOF_LONG -1))))
    9292#endif
    9393
Note: See TracChangeset for help on using the changeset viewer.