summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-06 21:26:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-06 21:26:32 +0200
commit57c69b08378fc5b29f39227e8692a997f2374e31 (patch)
tree90b0efada3b73b74d3bb23631d62aee1181231c9
parentd62085e5c5eb47cc2442899b125c799cb90e6d7b (diff)
Fix integer type
* kern/thread.c (host_stack_usage): Set `total' type to natural_t.
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 74e1c4b..27faf43 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -2397,7 +2397,7 @@ kern_return_t host_stack_usage(
vm_size_t *maxusagep,
vm_offset_t *maxstackp)
{
- unsigned int total;
+ natural_t total;
vm_size_t maxusage;
if (host == HOST_NULL)