diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-01 13:24:15 +0000 |
| commit | 50aa32eff79f252ab05a0c0a589cf2ca37cd9923 (patch) | |
| tree | 26de9fb78670a86ae63c21707b85c414cbf9d012 /lib/scudo/scudo_tls_android.cpp | |
| parent | 10fcf738d732204a1f1e28878d68a27c5f12cf3b (diff) | |
Diffstat (limited to 'lib/scudo/scudo_tls_android.cpp')
| -rw-r--r-- | lib/scudo/scudo_tls_android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scudo/scudo_tls_android.cpp b/lib/scudo/scudo_tls_android.cpp index 0e3602b2faf0..ec74e37c8dbc 100644 --- a/lib/scudo/scudo_tls_android.cpp +++ b/lib/scudo/scudo_tls_android.cpp @@ -45,7 +45,7 @@ static void initOnce() { NumberOfContexts = getNumberOfCPUs(); ThreadContexts = reinterpret_cast<ScudoThreadContext *>( MmapOrDie(sizeof(ScudoThreadContext) * NumberOfContexts, __func__)); - for (int i = 0; i < NumberOfContexts; i++) + for (uptr i = 0; i < NumberOfContexts; i++) ThreadContexts[i].init(); } |
