bool vector int width fixes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Oct 2013 01:02:32 +0000 (18:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Oct 2013 01:02:32 +0000 (18:02 -0700)
commitf2752e013d24133b645d60b226579f8ae9f1587d
tree0acb15dc969d0fa34554a6df0d407708d22f8d45
parent7a550bbb1a6be5a4a562e5c8aacee96014a985a9
bool vector int width fixes

* data.c (bool_vector_spare_mask, Fbool_vector_count_matches)
(Fbool_vector_count_matches_at):
Use EMACS_INT, not ptrdiff_t, to record bit counts, as a bit count
can exceed PTRDIFF_MAX, at least in theory.
(Fbool_vector_count_matches_at):
Use int, not ptrdiff_t, to record a value that can't exceed INT_MAX.
src/ChangeLog
src/data.c