aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/envz_add.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/envz_add.3 b/man3/envz_add.3
index 5c0f98776c..c983c07026 100644
--- a/man3/envz_add.3
+++ b/man3/envz_add.3
@@ -152,8 +152,8 @@ These functions are a GNU extension.
int
main(int argc, char *argv[], char *envp[])
{
- int e_len = 0;
- char *str;
+ char *str;
+ size_t e_len = 0;
for (int i = 0; envp[i] != NULL; i++)
e_len += strlen(envp[i]) + 1;