commit | 54a2747ef305c10d07d8db393125dbcbb461c428 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Apr 18 11:30:55 2016 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Apr 18 12:29:30 2016 -0700 |
tree | ad6f90bea569c5f01bbf9485e356dcdb035d79c5 | |
parent | 51dcd0da37dd10238017bae03fc708dc6e05bb56 [diff] [blame] |
Fix google-runtime-int warnings. Bug: 28220065 Change-Id: Ida199c66692a1638be6990d583d2ed42583fb592
diff --git a/recovery-refresh.cpp b/recovery-refresh.cpp index 70adc70..333367e 100644 --- a/recovery-refresh.cpp +++ b/recovery-refresh.cpp
@@ -92,7 +92,7 @@ if (!isdigit(number.data()[0])) { name += ".1"; } else { - unsigned long long i = std::stoull(number); + auto i = std::stoull(number); name = sub + "." + std::to_string(i + 1); } }