summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-17 17:34:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-17 17:34:14 +0200
commit5bedf6f81342356c197604a9484281db0a726611 (patch)
treeb48c8a7ed7ab3ee02814fc2d1a79869df0d27995
parentd0f805f9943db3a14c0eed5ebb503000e5c9ea88 (diff)
Appease GNU CC -Wall -Wno-reorder
-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;