Changeset e8b8fa in git


Ignore:
Timestamp:
Jun 8, 1999, 9:37:18 AM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
5e4527f9b340cf9a0adbbb804253b7cdc27332ad
Parents:
2923fa1d357f326a0c329b2f7097062eb50d9bf0
Message:
*hannes: C++-fix


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

Legend:

Unmodified
Added
Removed
  • Singular/mmheap.h

    r2923fa re8b8fa  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: mmheap.h,v 1.7 1999-06-08 07:34:38 Singular Exp $ */
     6/* $Id: mmheap.h,v 1.8 1999-06-08 07:37:18 Singular Exp $ */
    77#include <stdlib.h>
    88#include "mod2.h"
     
    7272 
    7373#define mmAllocHeap(res, heap)\
    74   (res) = (void *)mmDebugAllocHeap(heap, __FILE__, __LINE__)
     74  (res) = mmDebugAllocHeap(heap, __FILE__, __LINE__)
    7575void * mmDebugAllocHeap(memHeap heap, const char*, int );
    7676
     
    177177  register memHeap _heap = heap;                            \
    178178  if ((_heap)->current == NULL) mmAllocNewHeapPage(_heap);  \
    179   ((void*) (what)) = (_heap)->current;                      \
     179  (what) = (void *)((_heap)->current);                      \
    180180  (_heap)->current =  *((void**)(_heap)->current);          \
    181181}                                                           \
Note: See TracChangeset for help on using the changeset viewer.