Fixed a dodgy type
git-svn-id: http://picoc.googlecode.com/svn/trunk@125 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
b6b75396dd
commit
b0d8d40357
4
heap.c
4
heap.c
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue