aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/shared_memory.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2022-03-24 10:28:28 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-04-13 17:26:36 +0300
commit83ee3ddd39ccc3d3492cc4b838ab598e657fa871 (patch)
tree76ab38e5725b432ad77c6cb72ff90b6f13d250fc /include/odp/api/spec/shared_memory.h
parent68bb1cf95f37090465483d9d3c4bee9ab369d25c (diff)
api: shm: change type of max_blocks to uint32_t
Changed type of max_blocks capability from 'unsigned int' to uint32_t. In practice, those types have the same properties, but uint32_t is well-defined where as 'unsigned int' definition as somewhat ambiguous. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Diffstat (limited to 'include/odp/api/spec/shared_memory.h')
-rw-r--r--include/odp/api/spec/shared_memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/odp/api/spec/shared_memory.h b/include/odp/api/spec/shared_memory.h
index 6ba6f7fc2..d1955db26 100644
--- a/include/odp/api/spec/shared_memory.h
+++ b/include/odp/api/spec/shared_memory.h
@@ -133,7 +133,7 @@ typedef struct odp_shm_capability_t {
*
* This number of separate shared memory blocks can be
* reserved concurrently. */
- unsigned int max_blocks;
+ uint32_t max_blocks;
/** Maximum memory block size in bytes
*