]> git.eshelyaron.com Git - emacs.git/commit
Pacify -Wdouble-promotion in ImageMagick code
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Aug 2018 17:03:43 +0000 (10:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 Aug 2018 17:04:17 +0000 (10:04 -0700)
commit42ed35c68b7c199aa797e655fdc3547c5c3087d2
tree6a54fa6423597a764bc63dcd82a6f1747b7c81f3
parentd8bef4b519624de20baa1428dd103f61dfb220fa
Pacify -Wdouble-promotion in ImageMagick code

* src/image.c (imagemagick_load_image): Use double division, and
eliminate a cast.  This avoids a -Wdouble-promotion warning with
GCC 7.3 on Ubuntu 18.04.
src/image.c