diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-14 09:53:11 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-14 09:53:11 +0000 |
commit | 32429142cd267196d68b6706b5d340d03c0a1dc2 (patch) | |
tree | 19c425cf697674e26b69b829afe0f8d007c62528 /src | |
parent | 20ce2642fc0052a9f70faf194cc0c31d3f88926e (diff) | |
download | guix-32429142cd267196d68b6706b5d340d03c0a1dc2.tar.gz |
* Type error in constructor call (caught by GCC 3.3, but not 3.4!).
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc index f73e993b88..946be5e02b 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)); } |