summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-29 18:23:57 -0400
commit05c77351e458c08873c813264005f61f828b5383 (patch)
treefa83d3826d8c113b5ec273671ce6cab3d9fe5388 /src/utils.cc
parent119b5dc1975bfc00fb3f376e6ba28594dee12583 (diff)
downloadfork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.gz
fork-ledger-05c77351e458c08873c813264005f61f828b5383.tar.bz2
fork-ledger-05c77351e458c08873c813264005f61f828b5383.zip
Stopped using the generic "unsigned int" in favor of more specific types.
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 94330843..b1714879 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -72,7 +72,7 @@ typedef std::pair<std::string, std::size_t> allocation_pair;
typedef std::map<void *, allocation_pair> live_memory_map;
typedef std::multimap<void *, allocation_pair> live_objects_map;
-typedef std::pair<unsigned int, std::size_t> count_size_pair;
+typedef std::pair<std::size_t, std::size_t> count_size_pair;
typedef std::map<std::string, count_size_pair> object_count_map;
static live_memory_map * live_memory = NULL;
@@ -432,7 +432,7 @@ std::ostream * _log_stream = &std::cerr;
std::ostringstream _log_buffer;
#if defined(TRACING_ON)
-unsigned int _trace_level;
+uint8_t _trace_level;
#endif
#ifdef BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK