summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.cc b/src/option.cc
index 1275e270..f47410e2 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -110,8 +110,8 @@ void process_option(const string& whence, const string& name, scope_t& scope,
void process_environment(const char ** envp, const string& tag,
scope_t& scope)
{
- const char * tag_p = tag.c_str();
- std::size_t tag_len = tag.length();
+ const char * tag_p = tag.c_str();
+ string::size_type tag_len = tag.length();
for (const char ** p = envp; *p; p++) {
if (! tag_p || std::strncmp(*p, tag_p, tag_len) == 0) {