From 38122c22241cb8fe64f0d17cd3b084418f49edaa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Feb 2009 04:54:54 -0400 Subject: Corrected warnings g++-4.3.3 was complaining about --- src/format.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/format.cc') diff --git a/src/format.cc b/src/format.cc index 69c0b42f..0fcbbdfd 100644 --- a/src/format.cc +++ b/src/format.cc @@ -145,7 +145,7 @@ format_t::element_t * format_t::parse_elements(const string& fmt) ++p; } - int num = 0; + std::size_t num = 0; while (*p && std::isdigit(*p)) { num *= 10; num += *p++ - '0'; -- cgit v1.2.3