Skip to content
Snippets Groups Projects
Commit cd7c6705 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX

parent 6230e6e1
No related branches found
No related tags found
No related merge requests found
......@@ -184,10 +184,10 @@
#ifdef CONFIG_MM_SMALL
typedef uint16_t mmsize_t;
# define MMSIZE_MAX 0xffff
# define MMSIZE_MAX UINT16_MAX
#else
typedef uint32_t mmsize_t;
# define MMSIZE_MAX SIZE_MAX
# define MMSIZE_MAX UINT32_MAX
#endif
/* This describes an allocated chunk. An allocated chunk is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment