* 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

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));
}