[PATCH] Fix 2 clang warnings.
Martin Liška
mliska@suse.cz
Thu Jun 27 14:03:00 GMT 2019
Hi.
This reduces 2 warnings reported by clang.
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
2019-06-27 Martin Liska <mliska@suse.cz>
* edit-context.c (test_applying_fixits_unreadable_file): Do not
use () for a constructor call.
(test_applying_fixits_line_out_of_range): Likewise.
* ggc-page.c (free_page): Use (char *) for %p printf format
argument.
---
gcc/edit-context.c | 4 ++--
gcc/ggc-page.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-2-clang-warnings.patch
Type: text/x-patch
Size: 1341 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190627/5fc82e9b/attachment.bin>
More information about the Gcc-patches
mailing list