diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-15 02:55:16 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:32 -0400 |
commit | a087e6ea97494d97580c97705c665cac317a0dc3 (patch) | |
tree | d771c7f88f5b6255cb46b2d69aeec9395b3f982d /util.cc | |
parent | 691c29a696d2347faebd5663da9d1dc751f275eb (diff) | |
download | fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.gz fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.bz2 fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.zip |
Cleared out all warnings; started work on getting Python up again.
Diffstat (limited to 'util.cc')
-rw-r--r-- | util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ std::string abbreviate(const std::string& str, unsigned int width, elision_style_t elision_style, const bool is_account, int abbrev_length) { - const int len = str.length(); + const unsigned int len = str.length(); if (len <= width) return str; @@ -110,7 +110,7 @@ std::string abbreviate(const std::string& str, unsigned int width, parts.push_back(std::string(str, beg)); std::string result; - int newlen = len; + unsigned int newlen = len; for (std::list<std::string>::iterator i = parts.begin(); i != parts.end(); i++) { |