]> git.eshelyaron.com Git - emacs.git/commit
Use high-level integer conversion macro in a few cases.
authorPhilipp Stephani <phst@google.com>
Tue, 23 Apr 2019 14:48:49 +0000 (16:48 +0200)
committerPhilipp Stephani <phst@google.com>
Tue, 23 Apr 2019 14:51:10 +0000 (16:51 +0200)
commiteaea40b33721513d4c0228af92d5c32400fda0e7
tree5ec47decb427c43ce0f3a29674bb149336b648f8
parentecab8835a03fdeeea755fa222a326f1ea376ccc4
Use high-level integer conversion macro in a few cases.

INT_TO_INTEGER is more obviously correct and means we don’t have to
worry about data type sizes and signedness.

* src/json.c (json_parse_error): Use INT_TO_INTEGER.  The tiny
performance gain of make_fixed_natnum isn’t worth the trouble then
signaling an error.
src/json.c