* Type error in constructor call (caught by GCC 3.3, but not 3.4!).

This commit is contained in:
Eelco Dolstra 2005-02-14 09:53:11 +00:00
parent 20ce2642fc
commit 32429142cd
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ static Hash queryHash(const Transaction & txn, const Path & storePath)
HashType ht = parseHashType(string(s, 0, colon));
if (ht == htUnknown)
throw Error(format("unknown hash type `%1%' in valid-path entry for `%2%'")
% string(0, colon) % storePath);
% string(s, 0, colon) % storePath);
return parseHash(ht, string(s, colon + 1));
}