Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so make the what argument size_t since we are...



details:   https://anonhg.NetBSD.org/src/rev/bcf8e96de52f
branches:  trunk
changeset: 372904:bcf8e96de52f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 04 01:37:00 2023 +0000

description:
make the what argument size_t since we are passing in size_t

diffstat:

 libexec/ld.elf_so/expand.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7814630377bb -r bcf8e96de52f libexec/ld.elf_so/expand.c
--- a/libexec/ld.elf_so/expand.c        Tue Jan 03 22:02:20 2023 +0000
+++ b/libexec/ld.elf_so/expand.c        Wed Jan 04 01:37:00 2023 +0000
@@ -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 <sys/cdefs.h>
 #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 <ctype.h>
@@ -69,7 +69,7 @@
 };
 
 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;



Home | Main Index | Thread Index | Old Index