summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/examples/radio_button_example.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/examples/radio_button_example.cc b/views/examples/radio_button_example.cc
index ae5aa0e..2367197 100644
--- a/views/examples/radio_button_example.cc
+++ b/views/examples/radio_button_example.cc
@@ -26,7 +26,8 @@ void RadioButtonExample::CreateExampleView(views::View* container) {
int group = 1;
for (size_t i = 0; i < arraysize(radio_buttons_); ++i) {
radio_buttons_[i] = new views::RadioButton(
- UTF8ToUTF16(base::StringPrintf("Radio %d in group %d", i + 1, group)),
+ UTF8ToUTF16(base::StringPrintf(
+ "Radio %d in group %d", static_cast<int>(i) + 1, group)),
group);
radio_buttons_[i]->set_listener(this);
}