summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAlexander Traud <pabstraud@compuserve.com>2018-01-27 15:54:24 +0100
committerAlexander Traud <pabstraud@compuserve.com>2018-01-27 15:54:24 +0100
commit3c26eec043ee7108f3e87f97a8ae18942821bdab (patch)
tree9b72574a54632410af5cb88599f59896d57d5cbe /main
parentda5859246db94d9852323b1357401559f162d7ba (diff)
editline: Avoid shifting a negative signed value.
clang 4.0 warned about this. ASTERISK-27630 Change-Id: Ie2725048c661c1792d8b1d498575144350b6e9ba
Diffstat (limited to 'main')
-rw-r--r--main/editline/el.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/editline/el.h b/main/editline/el.h
index 641081e87..386d84cce 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 */