Index: base/strings/safe_sprintf.cc |
diff --git a/base/strings/safe_sprintf.cc b/base/strings/safe_sprintf.cc |
index 5b575635519265bee696fde37e780b08b0e2118f..b1fcf45b24f7a19f76eb6a175abc82467daa41ea 100644 |
--- a/base/strings/safe_sprintf.cc |
+++ b/base/strings/safe_sprintf.cc |
@@ -510,11 +510,11 @@ ssize_t SafeSNPrintf(char* buf, size_t sz, const char* fmt, const Arg* args, |
buffer.Pad(' ', padding, 1); |
// Convert the argument to an ASCII character and output it. |
- char ch = static_cast<char>(arg.integer.i); |
- if (!ch) { |
+ char as_char = static_cast<char>(arg.integer.i); |
+ if (!as_char) { |
goto end_of_output_buffer; |
} |
- buffer.Out(ch); |
+ buffer.Out(as_char); |
break; } |
case 'd': // Output a possibly signed decimal value. |
case 'o': // Output an unsigned octal value. |