summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
commit05c77351e458c08873c813264005f61f828b5383 (patch)
treefa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/option.cc
parent119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff)
downloadfork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.gz
fork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.bz2
fork-ledger-05c77351e458c08873c813264005f61f828b5383.zip
Stopped using the generic "unsigned int" in favor of more specific types.
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) {