Correct cast for _InterlockedExchangeAdd on ICC
A bug in ICC improperly identified the first parameter as "void*" rather than the proper "volatile long*". This is scheduled to be fixed in ICC in a future release. This patch casts only to a "long*" to preserve backwards compatibility with the ICC 16 and ICC 17 releases.
Showing
Please
register
or
sign in
to comment