summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-08 21:38:00 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 21:39:43 +0900
commitf0bcfa822e848b7bf89ec7a16407159187283a48 (patch)
tree9e0aa8a06789925a02675dfb8173ad4931604d9b /src/util.h
parentb97a7c8ecf410daaac12346c91591d15772f3c7f (diff)
Use int instead of unsigned int where unsigned int is not needed.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 33bd51b7..9d2a592d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -136,7 +136,7 @@ std::string uitos(T value, bool comma = false)
str = "0";
return str;
}
- unsigned int count = 0;
+ int count = 0;
while(value) {
++count;
char digit = value%10+'0';