diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T15·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-06-18T15·20+0000 |
commit | 5af84139a8d04ad9fdb2c02bc242ce5cd50b87b9 (patch) | |
tree | 4c8292835dd77eac32e06ffa28bf7c89d1ae12ed /src/libmain/shared.cc | |
parent | d3aa183beb774c20cb77052248cf45e684d134fb (diff) |
* --max-freed: support values >= 4 GB.
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r-- | src/libmain/shared.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 76d510efebfc..d6f299d6bfda 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -58,12 +58,12 @@ static void setLogType(string lt) } -unsigned int getIntArg(const string & opt, +unsigned long long getIntArg(const string & opt, Strings::iterator & i, const Strings::iterator & end) { ++i; if (i == end) throw UsageError(format("`%1%' requires an argument") % opt); - int n; + long long n; if (!string2Int(*i, n) || n < 0) throw UsageError(format("`%1%' requires a non-negative integer") % opt); return n; |