From e17b29d39b4632b7daf718c334c168b07e37d08a Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 8 Jan 2013 02:26:09 +0000 Subject: More int's that should be size_t for strlen() use ok millert --- lib/libc/gen/exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libc/gen/exec.c') diff --git a/lib/libc/gen/exec.c b/lib/libc/gen/exec.c index 0bd0b58fdbb..bc3301f47e9 100644 --- a/lib/libc/gen/exec.c +++ b/lib/libc/gen/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.19 2012/03/21 23:20:35 matthew Exp $ */ +/* $OpenBSD: exec.c,v 1.20 2013/01/08 02:26:09 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. @@ -131,7 +131,8 @@ int execvpe(const char *name, char *const *argv, char *const *envp) { char **memp; - int cnt, lp, ln, len; + int cnt; + size_t lp, ln, len; char *p; int eacces = 0; char *bp, *cur, *path, buf[MAXPATHLEN]; -- cgit v1.2.3-59-g8ed1b