diff options
author | peter <peter@FreeBSD.org> | 2002-07-07 22:27:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-07-07 22:27:40 +0000 |
commit | feeea8100f5cbff2b5b9ca4e8286f82754a6df83 (patch) | |
tree | e320a91718b8545175d6ab900dddc23dbfc9cfaf /sys | |
parent | ea5e54bfd7c29b7ace1100eba8744fc439829a6e (diff) | |
download | FreeBSD-src-feeea8100f5cbff2b5b9ca4e8286f82754a6df83.zip FreeBSD-src-feeea8100f5cbff2b5b9ca4e8286f82754a6df83.tar.gz |
Make this compile on 64 bit platforms
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_kse.c | 8 | ||||
-rw-r--r-- | sys/kern/kern_thread.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index d7bef81..751dd70 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -90,7 +90,7 @@ thread_ctor(void *mem, int size, void *arg) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; bzero(&td->td_startzero, @@ -110,7 +110,7 @@ thread_dtor(void *mem, int size, void *arg) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; @@ -151,7 +151,7 @@ thread_init(void *mem, int size) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; pmap_new_thread(td); @@ -169,7 +169,7 @@ thread_fini(void *mem, int size) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; pmap_dispose_thread(td); diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index d7bef81..751dd70 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -90,7 +90,7 @@ thread_ctor(void *mem, int size, void *arg) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; bzero(&td->td_startzero, @@ -110,7 +110,7 @@ thread_dtor(void *mem, int size, void *arg) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; @@ -151,7 +151,7 @@ thread_init(void *mem, int size) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; pmap_new_thread(td); @@ -169,7 +169,7 @@ thread_fini(void *mem, int size) struct thread *td; KASSERT((size == sizeof(struct thread)), - ("size mismatch: %d != %d\n", size, sizeof(struct thread))); + ("size mismatch: %d != %d\n", size, (int)sizeof(struct thread))); td = (struct thread *)mem; pmap_dispose_thread(td); |