aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data.c b/src/data.c
index 9314add11aa..22d051ef932 100644
--- a/src/data.c
+++ b/src/data.c
@@ -2980,7 +2980,7 @@ lowercase l) for small endian machines. */)
2980 that we don't have to special-case empty bit vectors. */ 2980 that we don't have to special-case empty bit vectors. */
2981 2981
2982static bits_word 2982static bits_word
2983bool_vector_spare_mask (ptrdiff_t nr_bits) 2983bool_vector_spare_mask (EMACS_INT nr_bits)
2984{ 2984{
2985 return (((bits_word) 1) << (nr_bits % BITS_PER_BITS_WORD)) - 1; 2985 return (((bits_word) 1) << (nr_bits % BITS_PER_BITS_WORD)) - 1;
2986} 2986}
@@ -3218,7 +3218,7 @@ DEFUN ("bool-vector-count-matches", Fbool_vector_count_matches,
3218A must be a bool vector. B is a generalized bool. */) 3218A must be a bool vector. B is a generalized bool. */)
3219 (Lisp_Object a, Lisp_Object b) 3219 (Lisp_Object a, Lisp_Object b)
3220{ 3220{
3221 ptrdiff_t count; 3221 EMACS_INT count;
3222 EMACS_INT nr_bits; 3222 EMACS_INT nr_bits;
3223 bits_word *adata; 3223 bits_word *adata;
3224 bits_word match; 3224 bits_word match;
@@ -3253,9 +3253,9 @@ A must be a bool vector. B is a generalized boolean. i is an
3253index into the vector. */) 3253index into the vector. */)
3254 (Lisp_Object a, Lisp_Object b, Lisp_Object i) 3254 (Lisp_Object a, Lisp_Object b, Lisp_Object i)
3255{ 3255{
3256 ptrdiff_t count; 3256 EMACS_INT count;
3257 EMACS_INT nr_bits; 3257 EMACS_INT nr_bits;
3258 ptrdiff_t offset; 3258 int offset;
3259 bits_word *adata; 3259 bits_word *adata;
3260 bits_word twiddle; 3260 bits_word twiddle;
3261 bits_word mword; /* Machine word. */ 3261 bits_word mword; /* Machine word. */