From 0fb08f5670b6a0647c493f2a9dc79fc552b0c918 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 28 Oct 2005 22:14:22 +0000 Subject: Made the two ZC_REDIR_*() macros return an int. --- Src/zsh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index f530cb8d9..d59fc44e4 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -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) -- cgit 1.4.1