diff options
author | Chih-hung Hsieh <chh@google.com> | 2016-04-19 00:19:06 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-04-19 00:19:06 +0200 |
commit | a1f4a1ec3319ee1ab869a46805bff63550b56ca7 (patch) | |
tree | ad6f90bea569c5f01bbf9485e356dcdb035d79c5 /recovery-refresh.cpp | |
parent | Merge "Fix IWYU errors." (diff) | |
parent | Fix google-runtime-int warnings. (diff) | |
download | android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.gz android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.bz2 android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.lz android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.xz android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.tar.zst android_bootable_recovery-a1f4a1ec3319ee1ab869a46805bff63550b56ca7.zip |
Diffstat (limited to '')
-rw-r--r-- | recovery-refresh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery-refresh.cpp b/recovery-refresh.cpp index 70adc70ee..333367eba 100644 --- a/recovery-refresh.cpp +++ b/recovery-refresh.cpp @@ -92,7 +92,7 @@ static ssize_t logrotate( 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); } } |