From 59a080cdb6bafa6ab20cb20c1bf1f007ea64de84 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Feb 2009 18:33:46 -0400 Subject: Changed many uses of "unsigned long" to std::size_t. --- src/utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.cc') diff --git a/src/utils.cc b/src/utils.cc index b1714879..253af4d2 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -45,7 +45,7 @@ DECLARE_EXCEPTION(assertion_failed, std::logic_error); void debug_assert(const string& reason, const string& func, const string& file, - unsigned long line) + std::size_t line) { std::ostringstream buf; buf << "Assertion failed in \"" << file << "\", line " << line @@ -458,7 +458,7 @@ static ptime logger_start; bool logger_func(log_level_t level) { - unsigned long appender = 0; + std::size_t appender = 0; if (! logger_has_run) { logger_has_run = true; -- cgit v1.2.3