summaryrefslogtreecommitdiff
path: root/ports/esp8266/posix_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp8266/posix_helpers.c')
-rw-r--r--ports/esp8266/posix_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp8266/posix_helpers.c b/ports/esp8266/posix_helpers.c
index b72c4ff9d..11c9dc36d 100644
--- a/ports/esp8266/posix_helpers.c
+++ b/ports/esp8266/posix_helpers.c
@@ -33,7 +33,7 @@
// Functions for external libs like axTLS, BerkeleyDB, etc.
void *malloc(size_t size) {
- void *p = gc_alloc(size, false);
+ void *p = gc_alloc(size, 0);
if (p == NULL) {
// POSIX requires ENOMEM to be set in case of error
errno = ENOMEM;