We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8e3ed commit 256ba04Copy full SHA for 256ba04
targets/TARGET_STM/TARGET_STM32L4/l4_retarget.c
@@ -51,7 +51,7 @@ void *__wrap__sbrk(int incr)
51
uint32_t heap_ind_old = heap_ind;
52
uint32_t heap_ind_new = heap_ind_old + incr;
53
54
- if (heap_ind_new > &__mbed_krbs_start) {
+ if (heap_ind_new > (uint32_t)&__mbed_krbs_start) {
55
errno = ENOMEM;
56
return (void *) - 1;
57
}
0 commit comments