Commit 08020ec7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

android: fix macro expansion

parent eaaae60e
......@@ -60,7 +60,7 @@ static struct timespec mtime_to_ts (mtime_t date)
/* debug */
#define vlc_assert(x) do { \
if (unlikely(!x)) { \
if (unlikely(!(x))) { \
__android_log_print(ANDROID_LOG_ERROR, "vlc", "assert failed %s:%d: %s", \
__FILE__, __LINE__, #x \
); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment