diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:39:37 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 015dc7e1f8a971692a910e6cfc64faf9216e75c3 (patch) | |
tree | 53f0eb6489d86f4a6b734115c79c4e131af5416c /binutils/winduni.c | |
parent | 78933a4ad9ae9c2e274d41e6b3036ea582c47810 (diff) | |
download | gdb-015dc7e1f8a971692a910e6cfc64faf9216e75c3.zip gdb-015dc7e1f8a971692a910e6cfc64faf9216e75c3.tar.gz gdb-015dc7e1f8a971692a910e6cfc64faf9216e75c3.tar.bz2 |
Use bool in binutils
* sysdep.h (POISON_BFD_BOOLEAN): Define.
* addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c,
* binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c,
* debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h,
* elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c,
* objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c,
* readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h,
* windmc.c, * windmc.h, * windres.c, * winduni.c,
* wrstabs.c: Replace bfd_boolean with bool, FALSE with false,
and TRUE with true throughout.
Diffstat (limited to 'binutils/winduni.c')
-rw-r--r-- | binutils/winduni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/winduni.c b/binutils/winduni.c index 808a766..7d44c29 100644 --- a/binutils/winduni.c +++ b/binutils/winduni.c @@ -832,7 +832,7 @@ wind_WideCharToMultiByte (rc_uint_type cp, const unichar *u, char *mb, rc_uint_t { rc_uint_type ret = 0; #if defined (_WIN32) || defined (__CYGWIN__) - WINBOOL used_def = FALSE; + WINBOOL used_def = false; ret = (rc_uint_type) WideCharToMultiByte (cp, 0, u, -1, mb, mb_len, NULL, & used_def); |