diff options
| author | Ashok Bhat <ashok.bhat@arm.com> | 2013-12-17 11:13:05 +0000 |
|---|---|---|
| committer | Ashok Bhat <ashok.bhat@arm.com> | 2014-02-20 14:11:35 +0000 |
| commit | 1ee7570052487671b889d7b123ba049ee41bd9e8 (patch) | |
| tree | 9c0a16e98f2640c6058580c5bade87d0513de30d /base/errors_unix.cpp | |
| parent | 912373005b53e70803cdae61dd63a18fa73a5e3e (diff) | |
AArch64: Use negative values in error enumeration
With AArch64 the enumerations with values in the range
0x80000000 to 0x80000007 are being assigned to ssize_t
typed variables which are 64-bit rather than 32-bit, and
are being used in conditions where they are being checked
for being negative. This is not the case when ssize_t is
64-bit, so redefine this to INT32_MIN value.
Change-Id: I7a031a940a28658b3bf34bebac93dfb3ba397b05
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
