Bug : Put parentheses around IS_COMMAND and its parameters

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-11-05 17:33:05 +01:00
parent 4e322f25c4
commit 571a7ca723

View file

@ -33,7 +33,7 @@
#include "Stage.h" #include "Stage.h"
#include "Tags.h" #include "Tags.h"
#define IS_COMMAND(c1, c2, c3) gTS.data[gTS.p_read + 1] == c1 && gTS.data[gTS.p_read + 2] == c2 && gTS.data[gTS.p_read + 3] == c3 #define IS_COMMAND(c1, c2, c3) (gTS.data[gTS.p_read + 1] == (c1) && gTS.data[gTS.p_read + 2] == (c2) && gTS.data[gTS.p_read + 3] == (c3))
#define TSC_BUFFER_SIZE 0x5000 #define TSC_BUFFER_SIZE 0x5000