Commit a9e0b112 authored by Steve Lhomme's avatar Steve Lhomme

vlc_common: fix swab() calls on win32 that don't use const on source pointer

parent 4c1f9683
......@@ -1106,6 +1106,11 @@ static inline void SetQWLE (void *p, uint64_t qw)
# ifndef O_NONBLOCK
# define O_NONBLOCK 0
# endif
/* the mingw32 swab() and win32 _swab() prototypes expect a char* instead of a
const void* */
# define swab(a,b,c) swab((char*) (a), (char*) (b), (c))
#endif /* _WIN32 */
typedef struct {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment