uint8_t is big enough for global. Range of values only 2-10

This commit is contained in:
Gregory Nutt 2016-07-21 15:18:27 -06:00
parent 67900beaaa
commit 369c942605

View File

@ -335,7 +335,7 @@
const uint32_t g_idle_topstack = (uint32_t)&_ebss + CONFIG_IDLETHREAD_STACKSIZE;
#ifdef MM_HAVE_REGION
static uint32_t g_mem_region_next = 0;
static uint8_t g_mem_region_next = 0;
#endif
/****************************************************************************