diff options
author | rlar <rlar> | 2016-02-28 11:42:41 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-02-28 15:15:32 -0500 |
commit | 48fa65020f4ce83e0aef986c5346f282b3ca76b7 (patch) | |
tree | 1a01ea624fd79c320c8a19671746be9d03ee4ecb /src/flexdef.h | |
parent | e66a12bbff288da54a75dac25a68ce5fca9315b4 (diff) |
warning: negative integer implicitly converted to unsigned type [-Wsign-conversion]
Diffstat (limited to 'src/flexdef.h')
-rw-r--r-- | src/flexdef.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flexdef.h b/src/flexdef.h index 3448718..343e81d 100644 --- a/src/flexdef.h +++ b/src/flexdef.h @@ -1156,9 +1156,9 @@ bool regmatch_empty (regmatch_t * m); typedef unsigned int scanflags_t; extern scanflags_t* _sf_stk; extern size_t _sf_top_ix, _sf_max; /**< stack of scanner flags. */ -#define _SF_CASE_INS 0x0001 -#define _SF_DOT_ALL 0x0002 -#define _SF_SKIP_WS 0x0004 +#define _SF_CASE_INS ((scanflags_t) 0x0001) +#define _SF_DOT_ALL ((scanflags_t) 0x0002) +#define _SF_SKIP_WS ((scanflags_t) 0x0004) #define sf_top() (_sf_stk[_sf_top_ix]) #define sf_case_ins() (sf_top() & _SF_CASE_INS) #define sf_dot_all() (sf_top() & _SF_DOT_ALL) |