diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-25 21:27:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-25 21:27:56 -0400 |
commit | 9dadaebfeb461ba795124281018d0f7eac200cf4 (patch) | |
tree | 941243868b1dcacd68cbd52a2f96e40bf70a5d3b /src/option.cc | |
parent | f35bc939c96c3a3bf09c5881d638b5ba60449c03 (diff) | |
parent | e696bfd913a10edd19f9e35eb1aee2c97b11e7f6 (diff) | |
download | fork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.gz fork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.tar.bz2 fork-ledger-9dadaebfeb461ba795124281018d0f7eac200cf4.zip |
Merge branch 'next'
Diffstat (limited to 'src/option.cc')
-rw-r--r-- | src/option.cc | 4 |
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) { |