@ -73,7 +73,7 @@ void __assert(const char *file, int line, const char *failedexpr)
__assert_func(file, line, "?", failedexpr);
}
/*-----------------------------------------------------------------------------------*/
caddr_t _sbrk_r(struct _reent *r, size_t incr)
caddr_t _sbrk_r(struct _reent *r, ptrdiff_t incr)
{
if(incr < 0)
@ -44,7 +44,7 @@ void heap_stats(void)
uint32_t cpsr = disableIRQ();
@ -24,7 +24,7 @@ static const caddr_t heap_max = (caddr_t)&__heap_end;
static const caddr_t heap_start = (caddr_t)&__heap_start;
@ -84,7 +84,7 @@ void _exit(int n)
*
* @return [description]
*/
unsigned int state = disableIRQ();
caddr_t res = heap_top;
@ -87,7 +87,7 @@ void _exit(int n)
@ -106,7 +106,7 @@ void _exit(int n)
@ -83,7 +83,7 @@ void _exit(int n)