summaryrefslogtreecommitdiff
path: root/util/logging.cc
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-04-20 22:48:11 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-04-20 22:48:11 +0000
commitba6dac0e809b249532a7465f71a00ccda307161d (patch)
tree9aa494c1bb1bbbefba5bf12c520941dbe4abfec1 /util/logging.cc
parent69c6d38342a1fab5f7f2921aa2e9c0e60ba90e35 (diff)
downloadleveldb-ba6dac0e809b249532a7465f71a00ccda307161d.tar.gz
@20776309
* env_chromium.cc should not export symbols. * Fix MSVC warnings. * Removed large value support. * Fix broken reference to documentation file git-svn-id: https://leveldb.googlecode.com/svn/trunk@24 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'util/logging.cc')
-rw-r--r--util/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/logging.cc b/util/logging.cc
index 5c9bd4a..760d335 100644
--- a/util/logging.cc
+++ b/util/logging.cc
@@ -20,7 +20,7 @@ void AppendNumberTo(std::string* str, uint64_t num) {
}
void AppendEscapedStringTo(std::string* str, const Slice& value) {
- for (int i = 0; i < value.size(); i++) {
+ for (size_t i = 0; i < value.size(); i++) {
char c = value[i];
if (c >= ' ' && c <= '~') {
str->push_back(c);