]> git.eshelyaron.com Git - emacs.git/commit
In pdumper, simplify INT_MAX computation
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Aug 2020 09:16:54 +0000 (02:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 Aug 2020 09:27:44 +0000 (02:27 -0700)
commit9e4e4775364490d31406f247237934dd7f203808
treee2fa77fb19ac3c6fa1f75f23adfb4b6519d27ee5
parenteeaef1aec6d881f206a37c6e476fd94a5c289fc3
In pdumper, simplify INT_MAX computation

* src/pdumper.c (dump_read_all): Avoid unnecessary cast.
Also, round down to page size, as sysdep.c does.
Also, don’t assume INT_MAX <= UINT_MAX (!).
src/pdumper.c