mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Protect arguments to the putwc and putwchar macros with parens.
This commit is contained in:
parent
3a67d8efd0
commit
6b3015b6a6
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ __END_DECLS
|
|||
|
||||
#define getwc(fp) fgetwc(fp)
|
||||
#define getwchar() fgetwc(stdin)
|
||||
#define putwc(wc, fp) fputwc(wc, fp)
|
||||
#define putwchar(wc) fputwc(wc, stdout)
|
||||
#define putwc(wc, fp) fputwc((wc), (fp))
|
||||
#define putwchar(wc) fputwc((wc), stdout)
|
||||
|
||||
#endif /* !_WCHAR_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue