diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-15 14:14:34 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-03-15 14:14:34 +0000 |
commit | 2eef6827cb370300ecac0533244137c26e305b3e (patch) | |
tree | 3b99ebff8837d342260cf5cd7c5d6f45ab579841 /sys/vm | |
parent | 65bdf6a0e755bb8dfd18f9561bbf200c0158c3c3 (diff) |
cast the VM_INHERIT_ constants to the correct type.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_inherit.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_inherit.h b/sys/vm/vm_inherit.h index e4df4005a6e..7c7bc873106 100644 --- a/sys/vm/vm_inherit.h +++ b/sys/vm/vm_inherit.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_inherit.h,v 1.3 1999/06/29 14:48:53 aaron Exp $ */ +/* $OpenBSD: vm_inherit.h,v 1.4 2000/03/15 14:14:33 art Exp $ */ /* $NetBSD: vm_inherit.h,v 1.7 1994/06/29 06:47:58 cgd Exp $ */ /* @@ -76,10 +76,10 @@ * Enumeration of valid values for vm_inherit_t. */ -#define VM_INHERIT_SHARE 0 /* share with child */ -#define VM_INHERIT_COPY 1 /* copy into child */ -#define VM_INHERIT_NONE 2 /* absent from child */ -#define VM_INHERIT_DONATE_COPY 3 /* copy and delete */ +#define VM_INHERIT_SHARE ((vm_inherit_t)0) /* share with child */ +#define VM_INHERIT_COPY ((vm_inherit_t)1) /* copy into child */ +#define VM_INHERIT_NONE ((vm_inherit_t)2) /* absent from child */ +#define VM_INHERIT_DONATE_COPY ((vm_inherit_t)3) /* copy and delete */ #define VM_INHERIT_DEFAULT VM_INHERIT_COPY |