Browse Source

Change mallinfo field type to int as per system malloc.h

Signed-off-by: Andras Slemmer <andras.slemmer@r3cev.com>
Andras Slemmer 7 years ago
parent
commit
24dc91d77c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sdk/tlibc/stdlib/malloc.c

+ 1 - 1
sdk/tlibc/stdlib/malloc.c

@@ -733,7 +733,7 @@ typedef int LONG;
 #define NO_MALLINFO 0
 #endif  /* NO_MALLINFO */
 #ifndef MALLINFO_FIELD_TYPE
-#define MALLINFO_FIELD_TYPE size_t
+#define MALLINFO_FIELD_TYPE int
 #endif  /* MALLINFO_FIELD_TYPE */
 #ifndef NO_MALLOC_STATS
 #define NO_MALLOC_STATS 0