diff options
author | Chih-hung Hsieh <chh@google.com> | 2016-04-19 00:39:41 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-04-19 00:39:41 +0200 |
commit | 7140a083c7d37a86ae95bb671fd5dd932b272e6b (patch) | |
tree | 3fca7568ae457f415fe41088a497f7de328afd54 /recovery-refresh.cpp | |
parent | Merge "Fix IWYU errors." am: 51dcd0d am: 405db92 (diff) | |
parent | Merge "Fix google-runtime-int warnings." am: a1f4a1e am: bcad1d1 (diff) | |
download | android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.gz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.bz2 android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.lz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.xz android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.tar.zst android_bootable_recovery-7140a083c7d37a86ae95bb671fd5dd932b272e6b.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); } } |