commit | d90f9705d6962e809191c10c14f611f7212918fa | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Thu Jan 06 19:35:04 2011 +0000 |
committer | Ben Murdoch <benm@google.com> | Thu Jan 06 19:35:04 2011 +0000 |
tree | e84ab5b6cb4ff4f2100efe09395ea36748da940b | |
parent | d5e5abaa809af28e4945e30906a5331fb07a40cf [diff] |
Cast StatFs return values to long On devices with large storage partitions, we could overflow when converting free blocks to free bytes. Cast to long to avoid this. Bug: 3327970 Change-Id: I3c007fc5c9fc758a03ee6ec0b7ee5a1423c170b3