Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Fix size_t/psize_t confusion. Fix ...
details: https://anonhg.NetBSD.org/src/rev/0a15bbbc8537
branches: trunk
changeset: 340478:0a15bbbc8537
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Mon Sep 07 17:14:54 2015 +0000
description:
Fix size_t/psize_t confusion. Fix build.
diffstat:
sys/arch/sparc64/sparc64/mdesc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e2848f42619d -r 0a15bbbc8537 sys/arch/sparc64/sparc64/mdesc.c
--- a/sys/arch/sparc64/sparc64/mdesc.c Mon Sep 07 15:55:06 2015 +0000
+++ b/sys/arch/sparc64/sparc64/mdesc.c Mon Sep 07 17:14:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdesc.c,v 1.5 2015/09/06 16:45:09 martin Exp $ */
+/* $NetBSD: mdesc.c,v 1.6 2015/09/07 17:14:54 uebayasi Exp $ */
/* $OpenBSD: mdesc.c,v 1.7 2014/11/30 22:26:15 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
@@ -33,7 +33,7 @@
paddr_t mdesc_pa;
size_t mdesc_len;
-size_t
+psize_t
mdesc_get_len(void)
{
psize_t len = 0;
@@ -46,7 +46,7 @@
}
void
-mdesc_init(vaddr_t va, paddr_t pa, size_t avail_len)
+mdesc_init(vaddr_t va, paddr_t pa, psize_t avail_len)
{
psize_t len;
int64_t err;
Home |
Main Index |
Thread Index |
Old Index