Module Name:    src
Committed By:   mrg
Date:           Sat Jul  9 15:03:35 UTC 2011

Modified Files:
        src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
apply some (uintptr_t) between pointer and int assignments.


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/sys/arch/sparc64/sparc64/autoconf.c

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/sparc64/sparc64/autoconf.c
diff -u src/sys/arch/sparc64/sparc64/autoconf.c:1.182 src/sys/arch/sparc64/sparc64/autoconf.c:1.183
--- src/sys/arch/sparc64/sparc64/autoconf.c:1.182	Fri Jul  1 18:49:24 2011
+++ src/sys/arch/sparc64/sparc64/autoconf.c	Sat Jul  9 15:03:35 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.182 2011/07/01 18:49:24 dyoung Exp $ */
+/*	$NetBSD: autoconf.c,v 1.183 2011/07/09 15:03:35 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.182 2011/07/01 18:49:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.183 2011/07/09 15:03:35 mrg Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1088,7 +1088,7 @@
 			gfb_cb.gcc_cookie = 
 			    (void *)(intptr_t)console_instance;
 			gfb_cb.gcc_set_mapreg = of_set_palette;
-			cmap_cb = (uint64_t)&gfb_cb;
+			cmap_cb = (uint64_t)(uintptr_t)&gfb_cb;
 			prop_dictionary_set_uint64(dict,
 			    "cmap_callback", cmap_cb);
 		}

Reply via email to