summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-05-12 13:06:34 +0000
committerphk <phk@FreeBSD.org>1999-05-12 13:06:34 +0000
commit0677c03994ab44eda40fea2e0728b79f24cbdd2f (patch)
treefc17c38c1f3297bf32b5f07d1984982e4b6eebe7 /sys/kern/kern_conf.c
parent4852bd7ff268f039c22842425dc579e24ade1804 (diff)
downloadFreeBSD-src-0677c03994ab44eda40fea2e0728b79f24cbdd2f.zip
FreeBSD-src-0677c03994ab44eda40fea2e0728b79f24cbdd2f.tar.gz
braino.
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 15e1f4c..f7477d8 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: kern_conf.c,v 1.37 1999/05/11 19:54:27 phk Exp $
+ * $Id: kern_conf.c,v 1.38 1999/05/12 11:06:45 phk Exp $
*/
#include <sys/param.h>
@@ -179,7 +179,7 @@ devsw_module_handler(module_t mod, int what, void* arg)
int
major(dev_t x)
{
- u_intptr_t i = (u_int)x;
+ uintptr_t i = (uintptr_t)x;
#ifdef DEVT_FASCIST
return(253 - ((i >> 8) & 0xff));
@@ -191,7 +191,7 @@ major(dev_t x)
int
minor(dev_t x)
{
- u_intptr_t i = (u_int)x;
+ uintptr_t i = (uintptr_t)x;
return(i & 0xffff00ff);
}
OpenPOWER on IntegriCloud