Fixed a dodgy type

git-svn-id: http://picoc.googlecode.com/svn/trunk@125 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2009-02-28 19:32:38 +00:00
parent b6b75396dd
commit b0d8d40357

4
heap.c
View file

@ -6,8 +6,8 @@
#ifdef SURVEYOR_HOST
#define HEAP_SIZE C_HEAPSIZE
static unsigned char *HeapMemory = (unsigned char *)C_HEAPSTART;
static void *HeapBottom = C_HEAPSTART + HEAP_SIZE; /* the bottom of the (downward-growing) heap */
static unsigned char *HeapMemory = (unsigned char *)C_HEAPSTART; /* all memory - stack and heap */
static void *HeapBottom = (unsigned char *)C_HEAPSTART + HEAP_SIZE; /* the bottom of the (downward-growing) heap */
#else
static unsigned char HeapMemory[HEAP_SIZE]; /* all memory - stack and heap */
static void *HeapBottom = &HeapMemory[HEAP_SIZE]; /* the bottom of the (downward-growing) heap */