]> git.eshelyaron.com Git - emacs.git/commit
* bidi.c (bidi_mirror_char): Put eassert before conversion to int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 May 2012 07:13:45 +0000 (00:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 May 2012 07:13:45 +0000 (00:13 -0700)
commitda92a98c3dd992778e06f8eda376599d670922cb
tree7c83e70d6c8b583c61480920ce2614a357cea508
parentfda91268666fe6c082ee08c0c9519a248a3a3d1f
* bidi.c (bidi_mirror_char): Put eassert before conversion to int.

This avoids undefined behavior that might cause the eassert
to not catch an out-of-range value.
src/ChangeLog
src/bidi.c