From 6fa209fa821275cf14671b083854670897f36837 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 12 Aug 2018 15:32:32 +0200 Subject: [PATCH] Remove AINPUT_SOURCE_ANY value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the Android input header file, an enum has a value taking more than 31 bits, leading to the following warning: ISO C restricts enumerator values to range of ‘int’ Since we don't use it, remove it. --- app/src/android/input.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/android/input.h b/app/src/android/input.h index 0d087f9b..b51731b4 100644 --- a/app/src/android/input.h +++ b/app/src/android/input.h @@ -777,9 +777,6 @@ enum android_input_source { AINPUT_SOURCE_JOYSTICK = 0x01000000 | AINPUT_SOURCE_CLASS_JOYSTICK, /** rotary encoder */ AINPUT_SOURCE_ROTARY_ENCODER = 0x00400000 | AINPUT_SOURCE_CLASS_NONE, - - /** any */ - AINPUT_SOURCE_ANY = 0xffffff00, }; /**