forked from lix-project/lix
* Type error in constructor call (caught by GCC 3.3, but not 3.4!).
This commit is contained in:
parent
20ce2642fc
commit
32429142cd
|
@ -504,7 +504,7 @@ static Hash queryHash(const Transaction & txn, const Path & storePath)
|
||||||
HashType ht = parseHashType(string(s, 0, colon));
|
HashType ht = parseHashType(string(s, 0, colon));
|
||||||
if (ht == htUnknown)
|
if (ht == htUnknown)
|
||||||
throw Error(format("unknown hash type `%1%' in valid-path entry for `%2%'")
|
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));
|
return parseHash(ht, string(s, colon + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue