From 13ca45bb940c4fef868405ed76b5ef80ee3d9dfd Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 14 Dec 1995 04:02:58 +0000 Subject: [PATCH] from netbsd: represent profiling size, scale more correctly (as size_t, u_int, resp.) --- sys/sys/resourcevar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h index b7a68fdddb1..53097b08c57 100644 --- a/sys/sys/resourcevar.h +++ b/sys/sys/resourcevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: resourcevar.h,v 1.11 1995/03/26 20:24:37 jtc Exp $ */ +/* $NetBSD: resourcevar.h,v 1.12 1995/11/22 23:01:53 cgd Exp $ */ /* * Copyright (c) 1991, 1993 @@ -53,9 +53,9 @@ struct pstats { struct uprof { /* profile arguments */ caddr_t pr_base; /* buffer base */ - u_long pr_size; /* buffer size */ + size_t pr_size; /* buffer size */ u_long pr_off; /* pc offset */ - u_long pr_scale; /* pc scaling */ + u_int pr_scale; /* pc scaling */ u_long pr_addr; /* temp storage for addr until AST */ u_long pr_ticks; /* temp storage for ticks until AST */ } p_prof; -- 2.20.1