summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-dumpenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skaembutils/s6-dumpenv.c')
-rw-r--r--src/skaembutils/s6-dumpenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skaembutils/s6-dumpenv.c b/src/skaembutils/s6-dumpenv.c
index 3c025d4..7439c51 100644
--- a/src/skaembutils/s6-dumpenv.c
+++ b/src/skaembutils/s6-dumpenv.c
@@ -15,7 +15,7 @@
int main (int argc, char const *const *argv, char const *const *envp)
{
mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ;
- unsigned int dirlen ;
+ size_t dirlen ;
PROG = "s6-dumpenv" ;
{
@@ -50,7 +50,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
for (; *envp ; envp++)
{
- unsigned int varlen = str_chr(*envp, '=') ;
+ size_t varlen = str_chr(*envp, '=') ;
char fn[dirlen + varlen + 2] ;
byte_copy(fn, dirlen, argv[0]) ;
fn[dirlen] = '/' ;