Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/iomd Fix GCC 3.3.1 nits



details:   https://anonhg.NetBSD.org/src/rev/eba6fd9e1d56
branches:  trunk
changeset: 552199:eba6fd9e1d56
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Sep 21 15:12:16 2003 +0000

description:
Fix GCC 3.3.1 nits

diffstat:

 sys/arch/arm/iomd/console/vidcrender.c |  8 ++++----
 sys/arch/arm/iomd/vidc20config.c       |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r 1a1a37269f69 -r eba6fd9e1d56 sys/arch/arm/iomd/console/vidcrender.c
--- a/sys/arch/arm/iomd/console/vidcrender.c    Sun Sep 21 15:11:04 2003 +0000
+++ b/sys/arch/arm/iomd/console/vidcrender.c    Sun Sep 21 15:12:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidcrender.c,v 1.12 2003/07/15 00:24:43 lukem Exp $    */
+/*     $NetBSD: vidcrender.c,v 1.13 2003/09/21 15:12:19 matt Exp $     */
 
 /*
  * Copyright (c) 1996 Mark Brinicombe
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vidcrender.c,v 1.12 2003/07/15 00:24:43 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcrender.c,v 1.13 2003/09/21 15:12:19 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1284,9 +1284,9 @@
 
 
        (void) pmap_extract(pmap_kernel(), (vaddr_t)cursor_normal,
-           (paddr_t *)&p_cursor_normal);
+           (void *)&p_cursor_normal);
        (void) pmap_extract(pmap_kernel(), (vaddr_t)cursor_transparent,
-           (paddr_t *)&p_cursor_transparent);
+           (void *)&p_cursor_transparent);
 
 /*
        memset ( cursor_normal, 0x55,
diff -r 1a1a37269f69 -r eba6fd9e1d56 sys/arch/arm/iomd/vidc20config.c
--- a/sys/arch/arm/iomd/vidc20config.c  Sun Sep 21 15:11:04 2003 +0000
+++ b/sys/arch/arm/iomd/vidc20config.c  Sun Sep 21 15:12:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidc20config.c,v 1.16 2003/04/01 23:19:10 thorpej Exp $        */
+/*     $NetBSD: vidc20config.c,v 1.17 2003/09/21 15:12:16 matt Exp $   */
 
 /*
  * Copyright (c) 2001 Reinoud Zandijk
@@ -48,7 +48,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.16 2003/04/01 23:19:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidc20config.c,v 1.17 2003/09/21 15:12:16 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -618,9 +618,9 @@
 
 
        (void) pmap_extract(pmap_kernel(), (vaddr_t)cursor_normal,
-           (paddr_t *)&p_cursor_normal);
+           (void *)&p_cursor_normal);
        (void) pmap_extract(pmap_kernel(), (vaddr_t)cursor_transparent,
-           (paddr_t *)&p_cursor_transparent);
+           (void *)&p_cursor_transparent);
 
        memset ( cursor_normal, 0x55, width*height );                   /* white? */
        memset ( cursor_transparent, 0x00, width*height );              /* to see the diffence */



Home | Main Index | Thread Index | Old Index