Module Name:    src
Committed By:   dholland
Date:           Thu May 22 16:30:40 UTC 2014

Modified Files:
        src/sys/arch/hp300/dev: dcmreg.h

Log Message:
Use uintptr_t so this file can be compile-tested on foreign arches.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hp300/dev/dcmreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp300/dev/dcmreg.h
diff -u src/sys/arch/hp300/dev/dcmreg.h:1.9 src/sys/arch/hp300/dev/dcmreg.h:1.10
--- src/sys/arch/hp300/dev/dcmreg.h:1.9	Tue Feb  8 20:20:13 2011
+++ src/sys/arch/hp300/dev/dcmreg.h	Thu May 22 16:30:40 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: dcmreg.h,v 1.9 2011/02/08 20:20:13 rmind Exp $	*/
+/*	$NetBSD: dcmreg.h,v 1.10 2014/05/22 16:30:40 dholland Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -131,7 +131,7 @@ struct	dcmpreg {
 	u_char		pad3[7];	/* +12 */
 	vu_char	t_tail;			/* +19 */
 };
-#define	dcm_preg(d, p)	((struct dcmpreg *)((u_int)(d)+0x8e00+(p)*2))
+#define	dcm_preg(d, p)	((struct dcmpreg *)((uintptr_t)(d)+0x8e00+(p)*2))
 
 /* interface reset/id */
 #define DCMCON          0x80	/* REMOTE/LOCAL switch, read */

Reply via email to