]> git.eshelyaron.com Git - emacs.git/commit
Fix typeof portability issue with bitfields
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2019 17:51:03 +0000 (10:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2019 17:53:25 +0000 (10:53 -0700)
commit96ef76e4e7df73802bf1f2a19c96a143ae365b66
tree26eb99caeb79bbbeb157023db946a152d1eeb1f7
parentaf82a6248ce77f1b14f89cfee677250ff024c2c4
Fix typeof portability issue with bitfields

Problem reported by Glenn Morris in:
https://lists.gnu.org/r/emacs-devel/2019-08/msg00300.html
* src/lisp.h (lisp_h_make_fixnum): Use typeof (+(n)) instead
of typeof (n), so that it works with compilers that do
not allow typeof to be applied to a bitfield.
src/lisp.h