]> git.eshelyaron.com Git - emacs.git/commit
Don’t warn about integer conversion in pdumper.c
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Aug 2020 01:35:44 +0000 (18:35 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Aug 2020 01:36:37 +0000 (18:36 -0700)
commit4491a55ac3c4e85a64e47519c8670ba23ae8d2f6
tree1227d24a600ffb6ecbe8b64509544d9b5d8726a2
parentdb3a7dfccceb9498227ab06e981706199e1e0f1b
Don’t warn about integer conversion in pdumper.c

Problem reported by Juanma Barranquero in:
https://lists.gnu.org/r/emacs-devel/2020-08/msg00279.html
and a similar glitch was reported by Eli Zaretskii (Bug#36597#67).
* src/pdumper.c: Remove -Wconversion pragma.
(ALLOW_IMPLICIT_CONVERSION, DISALLOW_IMPLICIT_CONVERSION):
Remove.  All uses removed.  Although -Wconversion may have
been helpful when writing pdumper.c it is now causing more
trouble than it’s worth here (just as in the rest of Emacs).
(dump_read_all): Avoid no-longer-necessary use of ‘size_t’
rather than ‘int’.
src/pdumper.c