Skip to content

Commit 528233e

Browse files
Andrew Boieandrewboie
authored andcommitted
kernel: use size_t for thread stack sizes
We should use size_t for memory region sizes everywhere, not u32_t. Signed-off-by: Andrew Boie <[email protected]>
1 parent 3b066d4 commit 528233e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ struct _thread_stack_info {
516516
* the size of the actual area, starting from the start member,
517517
* that should be writable by the thread
518518
*/
519-
u32_t size;
519+
size_t size;
520520
};
521521

522522
typedef struct _thread_stack_info _thread_stack_info_t;

0 commit comments

Comments
 (0)