commit | fa0b90aa792af61c0036bd188f63e51eec74af9e | [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 18:27:13 2016 -0700 |
tree | aa4e33b08d24ded7602a61e45847da0ab0a6c536 | |
parent | 901be39dc4337313109b6aca362fc70950e66f9a [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 (cherry picked from commit 294eb9dac3c06a37bc1c9547fa8a26bcf4cdc749)