From 9d72bf8835f3012169aaa88ec608172d5a056b9e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 11 May 2006 02:19:43 +0000 Subject: * 64-bit compatibility fixes (for problems revealed by building on an Athlon 64 running 64-bit SUSE). A patched ATerm library is required to run Nix succesfully. --- src/libstore/globals.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/globals.cc') diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index fc338892f22d..194e1165face 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -46,7 +46,7 @@ static void readSettings() line += contents[pos++]; pos++; - unsigned int hash = line.find('#'); + string::size_type hash = line.find('#'); if (hash != string::npos) line = string(line, 0, hash); -- cgit 1.4.1