]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/edit-context.c
Fix 2 clang warnings.
authorMartin Liska <mliska@suse.cz>
Mon, 1 Jul 2019 08:08:29 +0000 (10:08 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 1 Jul 2019 08:08:29 +0000 (08:08 +0000)
commitc53930bb4e409a256b9887640d7cd217d0e01b07
tree8e0a0f4435a891ea1c645399d3a414cf45cc1278
parent823d12a8370ec0298421fef4586c03a6b2eaf851
Fix 2 clang warnings.

2019-07-01  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 (alloc_page): Use (void *) for %p printf format
argument.
(free_page): Likewise.

From-SVN: r272846
gcc/ChangeLog
gcc/edit-context.c
gcc/ggc-page.c