aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-09-04 15:34:04 -0700
committerPaul Eggert2013-09-04 15:34:04 -0700
commit0c90b9eed9ce554816c9ca55d3aa30d6203d1679 (patch)
tree59fb036fda984820c0afdf1c0e588686e7077a7a /src/alloc.c
parent9c750ebae6b133bb28ed9508fdc74585b300c155 (diff)
downloademacs-0c90b9eed9ce554816c9ca55d3aa30d6203d1679.tar.gz
emacs-0c90b9eed9ce554816c9ca55d3aa30d6203d1679.zip
* alloc.c (make_event_array): First arg is now ptrdiff_t, not int.
This fixes a type error on hosts where ptrdiff_t is wider than int.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 8417ef4982b..0989e63664f 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3527,9 +3527,9 @@ free_marker (Lisp_Object marker)
3527 Any number of arguments, even zero arguments, are allowed. */ 3527 Any number of arguments, even zero arguments, are allowed. */
3528 3528
3529Lisp_Object 3529Lisp_Object
3530make_event_array (register int nargs, Lisp_Object *args) 3530make_event_array (ptrdiff_t nargs, Lisp_Object *args)
3531{ 3531{
3532 int i; 3532 ptrdiff_t i;
3533 3533
3534 for (i = 0; i < nargs; i++) 3534 for (i = 0; i < nargs; i++)
3535 /* The things that fit in a string 3535 /* The things that fit in a string