From: Alexander Traud Date: Sat, 27 Jan 2018 14:54:24 +0000 (+0100) Subject: editline: Avoid shifting a negative signed value. X-Git-Tag: 13.20.0-rc1~62^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021168f06fc01d0abacba7263884af32ec969312;p=thirdparty%2Fasterisk.git editline: Avoid shifting a negative signed value. clang 4.0 warned about this. ASTERISK-27630 Change-Id: Ie2725048c661c1792d8b1d498575144350b6e9ba --- diff --git a/main/editline/el.h b/main/editline/el.h index 641081e874..386d84cce2 100644 --- a/main/editline/el.h +++ b/main/editline/el.h @@ -55,9 +55,9 @@ #define EL_BUFSIZ 1024 /* Maximum line size */ -#define HANDLE_SIGNALS 1<<0 -#define NO_TTY 1<<1 -#define EDIT_DISABLED 1<<2 +#define HANDLE_SIGNALS 0x01 +#define NO_TTY 0x02 +#define EDIT_DISABLED 0x04 typedef int bool_t; /* True or not */