Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
cd7c6705
Commit
cd7c6705
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX
parent
6230e6e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/nuttx/mm/mm.h
+2
-2
2 additions, 2 deletions
include/nuttx/mm/mm.h
with
2 additions
and
2 deletions
include/nuttx/mm/mm.h
+
2
−
2
View file @
cd7c6705
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment