Chromium Code Reviews| Index: src/mips64/cpu-mips64.cc |
| diff --git a/src/mips64/cpu-mips64.cc b/src/mips64/cpu-mips64.cc |
| index 6e5910b3ffc5e81b24ac437ac1f48bfee4580b48..ab9cf69620e3ebd315bdb649c9916deeb40d4b5b 100644 |
| --- a/src/mips64/cpu-mips64.cc |
| +++ b/src/mips64/cpu-mips64.cc |
| @@ -35,7 +35,7 @@ void CpuFeatures::FlushICache(void* start, size_t size) { |
| cacheflush( |
| reinterpret_cast<intptr_t>(start), reinterpret_cast<intptr_t>(end), 0); |
| #else // ANDROID |
| - int res; |
| + long res; // NOLINT(runtime/int) |
| // See http://www.linux-mips.org/wiki/Cacheflush_Syscall. |
| res = syscall(__NR_cacheflush, start, size, ICACHE); |
|
balazs.kilvady
2015/12/04 09:56:25
I guess the return type of syscall may depend on t
|
| if (res) { |