summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.cc b/src/option.cc
index fa7e659d..65de3d1f 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -110,7 +110,7 @@ void process_environment(const char ** envp, const string& tag,
scope_t& scope)
{
const char * tag_p = tag.c_str();
- unsigned int tag_len = tag.length();
+ std::size_t tag_len = tag.length();
for (const char ** p = envp; *p; p++)
if (! tag_p || std::strncmp(*p, tag_p, tag_len) == 0) {