Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Appease a printf format warning on LP64 machines.
details: https://anonhg.NetBSD.org/src/rev/4e85bbc24ba3
branches: trunk
changeset: 330199:4e85bbc24ba3
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jun 29 03:43:06 2014 +0000
description:
Appease a printf format warning on LP64 machines.
diffstat:
sys/dev/pci/gffb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4c270cf59bd1 -r 4e85bbc24ba3 sys/dev/pci/gffb.c
--- a/sys/dev/pci/gffb.c Sun Jun 29 00:05:24 2014 +0000
+++ b/sys/dev/pci/gffb.c Sun Jun 29 03:43:06 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gffb.c,v 1.8 2014/03/14 21:59:41 mrg Exp $ */
+/* $NetBSD: gffb.c,v 1.9 2014/06/29 03:43:06 tsutsui Exp $ */
/*
* Copyright (c) 2013 Michael Lorenz
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.8 2014/03/14 21:59:41 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gffb.c,v 1.9 2014/06/29 03:43:06 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -246,7 +246,7 @@
aprint_normal("%s: %d MB aperture at 0x%08x\n", device_xname(self),
(int)(sc->sc_fbsize >> 20), (uint32_t)sc->sc_fb);
aprint_normal_dev(sc->sc_dev, "%d MB video memory\n",
- sc->sc_vramsize >> 20);
+ (int)(sc->sc_vramsize >> 20));
sc->sc_defaultscreen_descr = (struct wsscreen_descr){
"default",
Home |
Main Index |
Thread Index |
Old Index