Second argument to input_char() is wint_t, not wchar_t.

This commit is contained in:
Felicity Tarnell 2014-03-08 12:57:35 +00:00
parent 0959aad655
commit 684c581b32
2 changed files with 2 additions and 2 deletions

2
tts.c
View file

@ -739,7 +739,7 @@ input_macro(s)
int int
input_char(win, c) input_char(win, c)
WINDOW *win; WINDOW *win;
wchar_t *c; wint_t *c;
{ {
wchar_t *pr, *s, *r; wchar_t *pr, *s, *r;
if (!macro_pos) if (!macro_pos)

2
wide.h
View file

@ -18,7 +18,7 @@
#define wsizeof(s) (sizeof(s) / sizeof(wchar_t)) #define wsizeof(s) (sizeof(s) / sizeof(wchar_t))
int input_char (WINDOW *, wchar_t *); int input_char (WINDOW *, wint_t *);
void input_macro (wchar_t *); void input_macro (wchar_t *);
#endif /* !TTS_WIDE_H */ #endif /* !TTS_WIDE_H */