diff options
author | James McCoy <jamessan@jamessan.com> | 2016-10-09 20:54:30 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-10-09 21:13:07 -0400 |
commit | 4192c411a84098fe64e5022cfed9b4549f9a8c87 (patch) | |
tree | b7ea92f1556b1d83ccba6979e13e05ad3b7b0e66 /src/nvim/ex_eval.h | |
parent | cb03517fd36399d65a773b85ac7c0a5bf73ca8d6 (diff) | |
download | rneovim-4192c411a84098fe64e5022cfed9b4549f9a8c87.tar.gz rneovim-4192c411a84098fe64e5022cfed9b4549f9a8c87.tar.bz2 rneovim-4192c411a84098fe64e5022cfed9b4549f9a8c87.zip |
Change constack.cs_flags from char to int
This fixes the -Wconversion warning when char's type is unsigned.
../src/nvim/ex_eval.c: In function 'ex_while':
../src/nvim/ex_eval.c:1000:28: warning: conversion to 'char' from 'int' may alter its value [-Wconversion]
cstack->cs_lflags &= ~CSL_HAD_LOOP;
^
Signed-off-by: James McCoy <jamessan@jamessan.com>
Diffstat (limited to 'src/nvim/ex_eval.h')
-rw-r--r-- | src/nvim/ex_eval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_eval.h b/src/nvim/ex_eval.h index 30871c7711..43c6e67122 100644 --- a/src/nvim/ex_eval.h +++ b/src/nvim/ex_eval.h @@ -35,7 +35,7 @@ struct condstack { int cs_looplevel; /* nr of nested ":while"s and ":for"s */ int cs_trylevel; /* nr of nested ":try"s */ eslist_T *cs_emsg_silent_list; /* saved values of "emsg_silent" */ - char cs_lflags; /* loop flags: CSL_ flags */ + int cs_lflags; /* loop flags: CSL_ flags */ }; # define cs_rettv cs_pend.csp_rv # define cs_exception cs_pend.csp_ex |