diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-19 14:30:04 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-05-19 14:30:04 +0000 |
commit | 37af0441aebea3672104fdb1c5d391dc3d790523 (patch) | |
tree | 072c97b0609a02811c971106593256ccad51363b /sys/kern/kern_malloc.c | |
parent | b4a002ab4761adb151447266c9370f8d6bd02ad8 (diff) |
consistent use of uint32_t for poison values
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r-- | sys/kern/kern_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 1862aa171cd..96e90d3e048 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_malloc.c,v 1.106 2014/04/03 21:36:59 tedu Exp $ */ +/* $OpenBSD: kern_malloc.c,v 1.107 2014/05/19 14:30:03 tedu Exp $ */ /* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */ /* @@ -325,7 +325,7 @@ malloc(unsigned long size, int type, int flags) /* and check that the data hasn't been modified. */ if (freshalloc == 0) { size_t pidx; - int pval; + uint32_t pval; if (poison_check(va, allocsize, &pidx, &pval)) { panic("%s %zd of object %p size 0x%lx %s %s" " (0x%x != 0x%x)\n", |