diff options
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index fc338892f..194e1165f 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -46,7 +46,7 @@ static void readSettings() line += contents[pos++]; pos++; - unsigned int hash = line.find('#'); + string::size_type hash = line.find('#'); if (hash != string::npos) line = string(line, 0, hash); |