From 32429142cd267196d68b6706b5d340d03c0a1dc2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 14 Feb 2005 09:53:11 +0000 Subject: [PATCH] * Type error in constructor call (caught by GCC 3.3, but not 3.4!). --- src/libstore/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/store.cc b/src/libstore/store.cc index f73e993b8..946be5e02 100644 --- a/src/libstore/store.cc +++ b/src/libstore/store.cc @@ -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)); }