commit | cd9ae2e286e139d38e6f7cad7843804271ac368f | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Tue Mar 29 16:06:37 2016 -0700 |
committer | Sami Tolvanen <samitolvanen@google.com> | Tue Mar 29 16:06:37 2016 -0700 |
tree | 6ad76631ad6e71f645349ba5fba9899a34f4e9f4 | |
parent | ce1c25bdd97ef33f2e8021191be5583c079250ff [diff] |
mkbootimg: use int for os_version and os_patch_level The parse_int function attempts to interpret the string to detect base, which leads to it assuming strings starting with 0 are base 8. This obviously fails for certain dates, so use int instead. Bug: 27498078 Bug: 22914603 Change-Id: I50b1fb3d7876f2ec17d00649cc9a2d23af2aec2b