aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2014-09-10 08:21:46 -0700
committerPaul Eggert2014-09-10 08:21:46 -0700
commita2dcba1cf3acc322b7d0c45e5bfb12148f464e07 (patch)
treef4a79cbf123c0c8f086a93a83b622d8f533780f3 /src/alloc.c
parent11e28ab08d44c1fc40e3e4dc728c14c521b3879d (diff)
downloademacs-a2dcba1cf3acc322b7d0c45e5bfb12148f464e07.tar.gz
emacs-a2dcba1cf3acc322b7d0c45e5bfb12148f464e07.zip
* src/alloc.c (verify_alloca): Replace a stray occurrence of pointer_valid_for_lisp_object.
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 714827f6ae3..1dbd46d6f89 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -7175,8 +7175,8 @@ verify_alloca (void)
7175 /* Start from size of the smallest Lisp object. */ 7175 /* Start from size of the smallest Lisp object. */
7176 for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++) 7176 for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++)
7177 { 7177 {
7178 char *ptr = alloca (i); 7178 void *ptr = alloca (i);
7179 eassert (pointer_valid_for_lisp_object (ptr)); 7179 make_lisp_ptr (ptr, Lisp_Cons);
7180 } 7180 }
7181} 7181}
7182 7182