summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_libevdev
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_libevdev')
-rw-r--r--ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
index f0950d80..60d9e90c 100644
--- a/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
+++ b/ftnoir_protocol_libevdev/ftnoir_protocol_libevdev.cpp
@@ -7,7 +7,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-#define CHECK_LIBEVDEV(expr) if (error = (expr) != 0) goto error;
+#define CHECK_LIBEVDEV(expr) if ((error = (expr)) != 0) goto error;
static const int max_input = 65535;
static const int mid_input = 32767;