diff options
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 9f9c378c6a75..205ee3c25dc9 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -393,7 +393,7 @@ ValidPathInfo LocalStore::queryPathInfo(const Path & path, bool ignoreErrors) Strings lines = tokenizeString(info, "\n"); for (Strings::iterator i = lines.begin(); i != lines.end(); ++i) { - unsigned int p = i->find(':'); + string::size_type p = i->find(':'); if (p == string::npos) continue; /* bad line */ string name(*i, 0, p); string value(*i, p + 2); |