summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-09-10 08:21:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-09-10 08:21:46 -0700
commita2dcba1cf3acc322b7d0c45e5bfb12148f464e07 (patch)
treef4a79cbf123c0c8f086a93a83b622d8f533780f3 /src/alloc.c
parent11e28ab08d44c1fc40e3e4dc728c14c521b3879d (diff)
downloademacs-a2dcba1cf3acc322b7d0c45e5bfb12148f464e07.tar.gz
* 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)
/* Start from size of the smallest Lisp object. */
for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++)
{
- char *ptr = alloca (i);
- eassert (pointer_valid_for_lisp_object (ptr));
+ void *ptr = alloca (i);
+ make_lisp_ptr (ptr, Lisp_Cons);
}
}