commit | 398f64b5805246765b699839b439e18c0dfbf2ee | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Mar 26 18:05:48 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Mar 26 18:05:48 2012 -0700 |
tree | de3f86de82289b1734b12cdc7c4292f4aff16f55 | |
parent | ee0fa76b2e5d39ad36d1ff144b2d0270df81e606 [diff] [blame] |
Remove more lint, mostly C-style casts. Change-Id: Iaf1f23290e35ed48e5795fb20690953a9a834457
diff --git a/src/stringprintf.cc b/src/stringprintf.cc index aed60eb..8fd9257 100644 --- a/src/stringprintf.cc +++ b/src/stringprintf.cc
@@ -32,7 +32,7 @@ int result = vsnprintf(space, sizeof(space), format, backup_ap); va_end(backup_ap); - if (result < int(sizeof(space))) { + if (result < static_cast<int>(sizeof(space))) { if (result >= 0) { // Normal case -- everything fit. dst->append(space, result);