mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
Made the two ZC_REDIR_*() macros return an int.
This commit is contained in:
parent
0b31102c4c
commit
0fb08f5670
1 changed files with 2 additions and 2 deletions
|
@ -656,8 +656,8 @@ struct eccstr {
|
|||
#define WC_PIPE_LINENO(C) (wc_data(C) >> 1)
|
||||
#define WCB_PIPE(T,L) wc_bld(WC_PIPE, ((T) | ((L) << 1)))
|
||||
|
||||
#define WC_REDIR_TYPE(C) (wc_data(C) & REDIR_TYPE_MASK)
|
||||
#define WC_REDIR_VARID(C) (wc_data(C) & REDIR_VARID_MASK)
|
||||
#define WC_REDIR_TYPE(C) ((int)(wc_data(C) & REDIR_TYPE_MASK))
|
||||
#define WC_REDIR_VARID(C) ((int)(wc_data(C) & REDIR_VARID_MASK))
|
||||
#define WCB_REDIR(T) wc_bld(WC_REDIR, (T))
|
||||
/* Size of redir is 4 words if REDIR_VARID_MASK is set, else 3 */
|
||||
#define WC_REDIR_WORDS(C) (WC_REDIR_VARID(C) ? 4 : 3)
|
||||
|
|
Loading…
Reference in a new issue