]> git.eshelyaron.com Git - emacs.git/commit
Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:43:31 +0000 (14:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jul 2011 21:43:31 +0000 (14:43 -0700)
commitad6042bb6f905a38c1c5b7a77981894355496e5c
tree9c9af40f82d0180071ca5831d51409dd0d5ca4b6
parentf00bbb22a2954fbc7541d20a829178d531bd15d1
Fix minor problems found by static checking.

* bidi.c (bidi_cache_size): Now EMACS_INT, not size_t.
(elsz): Now a signed constant, not a size_t var.  We prefer signed
types to unsigned, to avoid integer comparison confusion.  Without
this change, GCC 4.6.1 with -Wunsafe-loop-optimizations complains
"cannot optimize loop, the loop counter may overflow", a symptom
of the confusion.
src/ChangeLog
src/bidi.c