editline: Avoid shifting a negative signed value.

clang 4.0 warned about this.

ASTERISK-27630

Change-Id: Ie2725048c661c1792d8b1d498575144350b6e9ba
certified/13.21
Alexander Traud 7 years ago
parent ede9185249
commit 021168f06f

@ -55,9 +55,9 @@
#define EL_BUFSIZ 1024 /* Maximum line size */ #define EL_BUFSIZ 1024 /* Maximum line size */
#define HANDLE_SIGNALS 1<<0 #define HANDLE_SIGNALS 0x01
#define NO_TTY 1<<1 #define NO_TTY 0x02
#define EDIT_DISABLED 1<<2 #define EDIT_DISABLED 0x04
typedef int bool_t; /* True or not */ typedef int bool_t; /* True or not */

Loading…
Cancel
Save