Skip to content

Commit

Permalink
fix win32 uxlfoundation#2
Browse files Browse the repository at this point in the history
  • Loading branch information
agilev76 authored and andrey.gilev committed Apr 21, 2020
1 parent 1db36b5 commit 4eaed3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/services/daal_atomic_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ class DAAL_EXPORT Atomic
#if defined(_WINDOWS)

template <typename dataType>
inline int Atomic<dataType>::inc()
inline dataType Atomic<dataType>::inc()
{
return _InterlockedExchangeAdd((long *)&my_storage, 1);
}
template <typename dataType>
inline int Atomic<dataType>::dec()
inline dataType Atomic<dataType>::dec()
{
return _InterlockedExchangeAdd((long *)&my_storage, -1);
}
Expand Down

0 comments on commit 4eaed3a

Please sign in to comment.