diff options
Diffstat (limited to 'openmp/runtime/src/kmp_affinity.h')
-rw-r--r-- | openmp/runtime/src/kmp_affinity.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/openmp/runtime/src/kmp_affinity.h b/openmp/runtime/src/kmp_affinity.h index e4107a1d3ed..d17717f4e3a 100644 --- a/openmp/runtime/src/kmp_affinity.h +++ b/openmp/runtime/src/kmp_affinity.h @@ -618,10 +618,8 @@ public: }; static int __kmp_affinity_cmp_Address_labels(const void *a, const void *b) { - const Address *aa = - (const Address *)&(((AddrUnsPair *)CCAST(void *, a))->first); - const Address *bb = - (const Address *)&(((AddrUnsPair *)CCAST(void *, b))->first); + const Address *aa = &(((const AddrUnsPair *)a)->first); + const Address *bb = &(((const AddrUnsPair *)b)->first); unsigned depth = aa->depth; unsigned i; KMP_DEBUG_ASSERT(depth == bb->depth); |