summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1998-02-05 03:32:49 +0000
committerJohn Dyson <dyson@FreeBSD.org>1998-02-05 03:32:49 +0000
commit95461b450d8d76f79be75d7dd0aee4adec4223fb (patch)
tree19ec035c730260d5d3bb5bf2326838b26108d09e /sys/kern/kern_malloc.c
parent47cfdb166d16af183216e459e4e48aff9d2beabf (diff)
Notes
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index cf23124c828b..bba797fe5f33 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94
- * $Id: kern_malloc.c,v 1.39 1998/01/22 17:29:47 dyson Exp $
+ * $Id: kern_malloc.c,v 1.40 1998/02/04 22:32:32 eivind Exp $
*/
#include "opt_diagnostic.h"
@@ -197,7 +197,7 @@ malloc(size, type, flags)
kbp->kb_next = ((struct freelist *)va)->next;
#ifdef DIAGNOSTIC
freep = (struct freelist *)va;
- savedtype = type->ks_shortdesc;
+ savedtype = (char *) type->ks_shortdesc;
#if BYTE_ORDER == BIG_ENDIAN
freep->type = (struct malloc_type *)WEIRD_ADDR >> 16;
#endif