You need to cast to volatile.

(Same for Increment).

There's also no need to return the old value.

--
Best regards,
Alex Ionescu

On 2011-06-02, at 1:43 PM, pschweit...@svn.reactos.org wrote:

> +    OldValue = (*Ulong)--;


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to