From 2219cd557fe211dfd9beba879cf56aac966817d6 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 4 Jan 2023 01:37:00 +0000 Subject: make the what argument size_t since we are passing in size_t --- libexec/ld.elf_so/expand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec') diff --git a/libexec/ld.elf_so/expand.c b/libexec/ld.elf_so/expand.c index 7e5ae97b60f..d53cd521dce 100644 --- a/libexec/ld.elf_so/expand.c +++ b/libexec/ld.elf_so/expand.c @@ -1,4 +1,4 @@ -/* $NetBSD: expand.c,v 1.6 2013/05/06 08:02:20 skrll Exp $ */ +/* $NetBSD: expand.c,v 1.7 2023/01/04 01:37:00 christos Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include #ifndef lint -__RCSID("$NetBSD: expand.c,v 1.6 2013/05/06 08:02:20 skrll Exp $"); +__RCSID("$NetBSD: expand.c,v 1.7 2023/01/04 01:37:00 christos Exp $"); #endif /* not lint */ #include @@ -69,7 +69,7 @@ static int mib[3][2] = { }; static size_t -expand(char *buf, const char *execname, int what, size_t bl) +expand(char *buf, const char *execname, size_t what, size_t bl) { const char *p, *ep; char *bp = buf; -- cgit