Boost logo

Boost Users :

Subject: Re: [Boost-users] error C2440: 'reinterpret_cast': InterlockedCompareExchange from detail\interlocked.hpp
From: Adam Merz (adammerz_at_[hidden])
Date: 2008-11-06 12:34:58

InterlockedCompareExchange only works with LONG, and casting is not a good way
around the problem. Perhaps you want InterlockedCompareExchangePointer, which
works with PVOID?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at