diff options
| author | Yi-Yo Chiang <yochiang@google.com> | 2021-02-12 15:55:50 +0800 |
|---|---|---|
| committer | Yo Chiang <yochiang@google.com> | 2021-02-18 08:24:51 +0000 |
| commit | 67e3bbc7f6f7c027e23921f577040c1bcb478802 (patch) | |
| tree | d29203a792348989907f15569889fe289691dc7d /base/errors_unix.cpp | |
| parent | ec1b09fca93478f37a4775e8024df71d2a9c0de3 (diff) | |
Explicitly cast to 64bit integer when calculating filesystem size
Else the result may overflow on platforms that have 32bit long.
Bug: 165925766
Test: Presubmit
Change-Id: I3018f0bd9846651848bd9b3645f2eeaa5b61c646
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
