diff options
Diffstat (limited to 'tc.decls.h')
-rw-r--r-- | tc.decls.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tc.decls.h b/tc.decls.h index fc4e8a88b908..4925ca585770 100644 --- a/tc.decls.h +++ b/tc.decls.h @@ -1,4 +1,3 @@ -/* $Header: /p/tcsh/cvsroot/tcsh/tc.decls.h,v 3.66 2012/06/21 18:49:11 christos Exp $ */ /* * tc.decls.h: Function declarations from all the tcsh modules */ @@ -265,7 +264,7 @@ extern int rt_mbtowc (Char *, const char *, size_t); #else #define one_mbtowc(PWC, S, N) \ ((void)(N), *(PWC) = (unsigned char)*(S), (size_t)1) -#define one_wctomb(S, WCHAR) (*(S) = (WCHAR), (size_t)1) +#define one_wctomb(S, WCHAR) (*(S) = (char)(WCHAR), (size_t)1) #endif #ifdef SHORT_STRINGS extern Char *s_strchr (const Char *, int); |