commit | 32ff5ba0d20609f2b78e4fcb01631292e6b41e73 | [log] [tgz] |
---|---|---|
author | Yuriy Chernyshov <georgthegreat@gmail.com> | Fri May 14 12:42:50 2021 +0300 |
committer | GitHub <noreply@github.com> | Fri May 14 12:42:50 2021 +0300 |
tree | d978a49f4452311cf821ca2852581c327724fb32 | |
parent | 814c2496155eacc8fc852be7e4cdeabd0654ef6b [diff] |
Update init.c Fix
diff --git a/src/init.c b/src/init.c index 79ab6ee..e5c1142 100644 --- a/src/init.c +++ b/src/init.c
@@ -3432,7 +3432,7 @@ allocator = &xnn_default_allocator; } #ifdef _MSC_VER - _InterlockedCompareExchangePointer((void* volatile)(&init_allocator), allocator, NULL); + _InterlockedCompareExchangePointer((void* volatile*) &init_allocator, allocator, NULL); #else __sync_bool_compare_and_swap(&init_allocator, NULL, allocator); #endif