[vlc-commits] Atomic: fix compilation under MSVC WinRT mode

Jean-Baptiste Kempf git at videolan.org
Mon Feb 10 16:53:16 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Feb 10 16:52:46 2014 +0100| [da7f0a603e441649bc54ad09aee58447e6876328] | committer: Jean-Baptiste Kempf

Atomic: fix compilation under MSVC WinRT mode

... no comment...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da7f0a603e441649bc54ad09aee58447e6876328
---

 include/vlc_atomic.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_atomic.h b/include/vlc_atomic.h
index a2c1413..af88eab 100644
--- a/include/vlc_atomic.h
+++ b/include/vlc_atomic.h
@@ -337,7 +337,7 @@ typedef         uintmax_t atomic_uintmax_t;
     atomic_type_dispatch_16_64(operation, object, __VA_ARGS__))
 
 #  define atomic_store(object,desired) \
-    atomic_type_dispatch_8_64(InterlockedExchange, object, desired)
+    atomic_type_dispatch_16_64(InterlockedExchange, object, desired)
 #  define atomic_store_explicit(object,desired,order) \
     atomic_store(object, desired)
 



More information about the vlc-commits mailing list