diff options
-rw-r--r-- | core/arch/arm/mm/mobj.c | 4 | ||||
-rw-r--r-- | lib/libutils/isoc/bget_malloc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/arch/arm/mm/mobj.c b/core/arch/arm/mm/mobj.c index a29efe3a..75bfb533 100644 --- a/core/arch/arm/mm/mobj.c +++ b/core/arch/arm/mm/mobj.c @@ -443,7 +443,7 @@ struct mobj *mobj_reg_shm_alloc(paddr_t *pages, size_t num_pages, { struct mobj_reg_shm *mobj_reg_shm; size_t i; - unsigned int exceptions; + uint32_t exceptions; if (!num_pages) return NULL; @@ -484,7 +484,7 @@ err: struct mobj *mobj_reg_shm_find_by_cookie(uint64_t cookie) { struct mobj_reg_shm *mobj_reg_shm; - unsigned int exceptions; + uint32_t exceptions; exceptions = cpu_spin_lock_xsave(®_shm_slist_lock); SLIST_FOREACH(mobj_reg_shm, ®_shm_list, next) { diff --git a/lib/libutils/isoc/bget_malloc.c b/lib/libutils/isoc/bget_malloc.c index 54a146f4..75fd9905 100644 --- a/lib/libutils/isoc/bget_malloc.c +++ b/lib/libutils/isoc/bget_malloc.c @@ -195,7 +195,7 @@ static void raw_malloc_return_hook(void *p, size_t requested_size) void malloc_reset_stats(void) { - unsigned int exceptions = malloc_lock(); + uint32_t exceptions = malloc_lock(); mstats.max_allocated = 0; mstats.num_alloc_fail = 0; |